summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMartin Schitter <ms@mur.at>2025-10-10 17:12:04 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-13 12:00:50 +0100
commit6cd31cbb1f0c70a992a433388d2f3caec456f804 (patch)
tree9ea5581971227441225c5b61e4db892ac921575b /gnu/packages
parent61ede04a20ef432be8620b5c9df9318ffd114f96 (diff)
gnu: python-coverage: Ignore tests_numbits.py
* gnu/packages/check.scm (python-coverage)[arguments] <test-flags>: Deselect tests that would report errors on slow riscv64 SBCs. Change-Id: I7437c514fb60965a76fe80b0d8629f9c76a80d15 Reviewed-by: Nicolas Graves <ngraves@ngraves.fr> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/check.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index c597210d530..2e9ae12d8d2 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2424,7 +2424,12 @@ since the last commit or what tests are currently failing.")
;; XXX: Checking coverage for too much files, not only the target one.
"--deselect=tests/test_oddball.py::DoctestTest::test_doctest"
;; Module sys has no Python source
- "--deselect=tests/test_api.py::ApiTest::test_warnings_suppressed")
+ "--deselect=tests/test_api.py::ApiTest::test_warnings_suppressed"
+ ;; prevent FAILs on slow riscv64 SBCs
+ #$@(if (equal? (%current-system) "riscv64-linux")
+ '("--deselect=tests/test_numbits.py::NumbitsOpTest::test_union"
+ "--deselect=tests/test_numbits.py::NumbitsOpTest::test_any_intersection")
+ '()))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-pyproject