dev-util/cppcheck: fix tests with USE=htmlreport

Closes: https://bugs.gentoo.org/969623
Signed-off-by: David Roman <droman@ifae.es>
Part-of: https://github.com/gentoo/gentoo/pull/45292
Closes: https://github.com/gentoo/gentoo/pull/45292
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
David Roman
2026-02-09 14:51:33 +01:00
committed by Sam James
parent 6bcc54aaf2
commit 521d8c4f67

View File

@@ -110,7 +110,11 @@ src_test() {
cmake_src_test
rm test/cli/other_test.py || die
use htmlreport && TEST_CPPCHECK_EXE_LOOKUP_PATH="${BUILD_DIR}/bin/" epytest test
rm test/cli/lookup_test.py || die
rm test/cli/premium_test.py || die
if use htmlreport; then
PYTHONPATH="${S}/tools" TEST_CPPCHECK_EXE_LOOKUP_PATH="${BUILD_DIR}/bin/" epytest test
fi
}
src_install() {