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 E2E85158041 for ; Thu, 21 Mar 2024 02:45:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F46EE29B9; Thu, 21 Mar 2024 02:45:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 77B26E29B9 for ; Thu, 21 Mar 2024 02:45:51 +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 BBE9D335D6D for ; Thu, 21 Mar 2024 02:45:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59D711598 for ; Thu, 21 Mar 2024 02:45:49 +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: <1710989110.67f0b56fbfb18e333a75490785862c193630e4fb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rgbds/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/rgbds/rgbds-0.7.0.ebuild dev-util/rgbds/rgbds-9999.ebuild X-VCS-Directories: dev-util/rgbds/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 67f0b56fbfb18e333a75490785862c193630e4fb X-VCS-Branch: master Date: Thu, 21 Mar 2024 02:45:49 +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: be1e97b5-07c6-442e-9877-2f1787b46c32 X-Archives-Hash: f27ae6b43f563c3eef0ce9593485513e commit: 67f0b56fbfb18e333a75490785862c193630e4fb Author: orbea riseup net> AuthorDate: Sat Mar 2 02:00:02 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 21 02:45:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67f0b56f dev-util/rgbds: enable tests Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/gentoo/pull/35594 Signed-off-by: Sam James gentoo.org> dev-util/rgbds/rgbds-0.7.0.ebuild | 9 +++++++++ dev-util/rgbds/rgbds-9999.ebuild | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/dev-util/rgbds/rgbds-0.7.0.ebuild b/dev-util/rgbds/rgbds-0.7.0.ebuild index 15f4299a0ec4..562335e6e1e6 100644 --- a/dev-util/rgbds/rgbds-0.7.0.ebuild +++ b/dev-util/rgbds/rgbds-0.7.0.ebuild @@ -36,3 +36,12 @@ src_install() { emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr Q= STRIP= install dodoc README.rst } + +src_test() { + local dir + for dir in asm link fix gfx; do + pushd "test/${dir}" >/dev/null || die + ./test.sh || die + popd >/dev/null || die + done +} diff --git a/dev-util/rgbds/rgbds-9999.ebuild b/dev-util/rgbds/rgbds-9999.ebuild index 01a4fc5c18e6..15028b55d8d2 100644 --- a/dev-util/rgbds/rgbds-9999.ebuild +++ b/dev-util/rgbds/rgbds-9999.ebuild @@ -36,3 +36,12 @@ src_install() { emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr Q= STRIP= install dodoc README.md } + +src_test() { + local dir + for dir in asm link fix gfx; do + pushd "test/${dir}" >/dev/null || die + ./test.sh || die + popd >/dev/null || die + done +}