gnu: python-angr: Skip flaky ‘test_similarity_fauxware’ test.

* gnu/packages/python-xyz.scm (python-angr)[#:phases]<check>: Skip additional
test and refactor code to allow specification of test to skip as a list.

Change-Id: I259dde141b19ed908099090d8ec709eee47d854a
Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
Sören Tempel 2025-05-29 19:09:16 +02:00 committed by Hilton Chain
parent f0c6e840dd
commit 9055bb3644
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -36081,9 +36081,15 @@ mangled symbols, which can be used for directly extracting type information.")
;; be a capstone regressions, needs investigation.
;;
;; test_concrete_memset is a non-deterministic benchmark.
(invoke "pytest" "-vv" "-x" "--dist" "loadfile"
"-k" "not test_mips32_missing_offset_in_instructions and not test_concrete_memset"
"-n" (number->string (parallel-job-count)))))))
;; test_similarity_fauxware is flaky.
(let ((to-skip '("test_mips32_missing_offset_in_instructions"
"test_concrete_memset"
"test_similarity_fauxware")))
(invoke "pytest" "-vv" "-x" "--dist" "loadfile"
"-k" (string-append
"not "
(string-join to-skip " and not "))
"-n" (number->string (parallel-job-count))))))))
(add-before 'build 'set-cc
(lambda _
(setenv "CC" "gcc"))))))