dev-util/cppcheck: run tests sequentially

There seems to be a race condition with the creation of auxiliary files
created by the test suite. This make test fail randomly. Using -j1 should avoid the issue.

Closes: https://bugs.gentoo.org/979014
Signed-off-by: David Roman <stkw0@disroot.org>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1645
Merges: https://codeberg.org/gentoo/gentoo/pulls/1645
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
David Roman
2026-10-05 15:22:38 +03:00
committed by Joonas Niilola
parent 7401ce7fa7
commit f0bcd3ed21
+1 -1
View File
@@ -106,7 +106,7 @@ src_test() {
# https://github.com/danmar/cppcheck/pull/5462
TestFileLister
)
cmake_src_test
cmake_src_test -j1
rm test/cli/other_test.py || die
rm test/cli/lookup_test.py || die