From f0bcd3ed210c2d2133c56c3e28cc021e2f8ce56e Mon Sep 17 00:00:00 2001 From: David Roman Date: Sun, 9 Aug 2026 12:26:51 +0200 Subject: [PATCH] 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 Part-of: https://codeberg.org/gentoo/gentoo/pulls/1645 Merges: https://codeberg.org/gentoo/gentoo/pulls/1645 Signed-off-by: Joonas Niilola --- dev-util/cppcheck/cppcheck-2.20.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/cppcheck/cppcheck-2.20.0.ebuild b/dev-util/cppcheck/cppcheck-2.20.0.ebuild index 93db405c5ab26..b9629297ee7d9 100644 --- a/dev-util/cppcheck/cppcheck-2.20.0.ebuild +++ b/dev-util/cppcheck/cppcheck-2.20.0.ebuild @@ -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