From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B32D158064 for ; Sun, 5 May 2024 16:45:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF917E2A7F; Sun, 5 May 2024 16:45:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7009EE2A7F for ; Sun, 5 May 2024 16:45:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7326335D60 for ; Sun, 5 May 2024 16:45:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E6BF1A15 for ; Sun, 5 May 2024 16:45:12 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1714927461.d994e07488e48d462dff33a281ab8692415c35c5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/jhead/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/jhead/jhead-3.08-r1.ebuild X-VCS-Directories: media-gfx/jhead/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d994e07488e48d462dff33a281ab8692415c35c5 X-VCS-Branch: master Date: Sun, 5 May 2024 16:45:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 49548a07-3f78-4458-a6ad-68dd9ae5053a X-Archives-Hash: e4b721aa865919d7267517169b54c880 commit: d994e07488e48d462dff33a281ab8692415c35c5 Author: Sam James gentoo org> AuthorDate: Sun May 5 16:44:21 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun May 5 16:44:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d994e074 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 gentoo.org> media-gfx/jhead/jhead-3.08-r1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) 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