mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user