dev-util/ROPgadget: fix tests

Run the tests per-implementation which means we both don't accidentally
run for an impl where capstone isn't installed, and also means we test
all enabled impls for ROPgadget.

Closes: https://bugs.gentoo.org/961344
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-08-25 04:31:22 +01:00
parent 155502b495
commit 9c5de2e079
2 changed files with 5 additions and 5 deletions

View File

@@ -28,8 +28,8 @@ RDEPEND="
>=dev-libs/capstone-5.0.1[python,${PYTHON_USEDEP}]
"
src_test() {
python_test() {
pushd test-suite-binaries || die
./test.sh || die
./test.sh || die "Tests failed with ${EPYTHON}"
popd || die
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -28,8 +28,8 @@ RDEPEND="
>=dev-libs/capstone-5.0.1[python,${PYTHON_USEDEP}]
"
src_test() {
python_test() {
pushd test-suite-binaries || die
./test.sh || die
./test.sh || die "Tests failed with ${EPYTHON}"
popd || die
}