diff options
author | Sam James <sam@gentoo.org> | 2024-05-05 17:44:21 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-05 17:44:21 +0100 |
commit | d994e07488e48d462dff33a281ab8692415c35c5 (patch) | |
tree | 0ac78ae967750de0b7f0ae8feaba3bac9b6f3d12 /media-gfx/jhead/jhead-3.08-r1.ebuild | |
parent | media-gfx/jhead: fix LDFLAGS patch (diff) | |
download | gentoo-d994e07488e48d462dff33a281ab8692415c35c5.tar.gz gentoo-d994e07488e48d462dff33a281ab8692415c35c5.tar.bz2 gentoo-d994e07488e48d462dff33a281ab8692415c35c5.zip |
media-gfx/jhead: add (very basic) smoketest to src_test
Left a TODO for someone else to improve.
Bug: https://bugs.gentoo.org/931225
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx/jhead/jhead-3.08-r1.ebuild')
-rw-r--r-- | media-gfx/jhead/jhead-3.08-r1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media-gfx/jhead/jhead-3.08-r1.ebuild b/media-gfx/jhead/jhead-3.08-r1.ebuild index 236107212ff2..181929ebdc85 100644 --- a/media-gfx/jhead/jhead-3.08-r1.ebuild +++ b/media-gfx/jhead/jhead-3.08-r1.ebuild @@ -25,6 +25,12 @@ src_compile() { emake CC="$(tc-getCC)" } +src_test() { + # TODO: Add an example file we change & compare checksum? + # Trivial smoketest (which would've found bug #931225) + jhead -V || die +} + src_install() { dobin ${PN} dodoc *.txt |