summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSören Tempel <soeren@soeren-tempel.net>2025-05-29 19:09:16 +0200
committerHilton Chain <hako@ultrarare.space>2025-06-08 01:32:58 +0800
commit9055bb364403d535dbca6c05fce0e8019d097126 (patch)
tree4111e548db6ee44a70c9779d27d332bf78e1612d /gnu/packages/python-xyz.scm
parentf0c6e840dd909e59ac0e765ffa8d2e85aa6ebf49 (diff)
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>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0375d0d6c7..57ac33754d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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"))))))