commit: 67f0b56fbfb18e333a75490785862c193630e4fb Author: orbea <orbea <AT> riseup <DOT> net> AuthorDate: Sat Mar 2 02:00:02 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> 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 <orbea <AT> riseup.net> Closes: https://github.com/gentoo/gentoo/pull/35594 Signed-off-by: Sam James <sam <AT> 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 +}