From 6cd31cbb1f0c70a992a433388d2f3caec456f804 Mon Sep 17 00:00:00 2001 From: Martin Schitter Date: Fri, 10 Oct 2025 17:12:04 +0000 Subject: [PATCH] gnu: python-coverage: Ignore tests_numbits.py * gnu/packages/check.scm (python-coverage)[arguments] : Deselect tests that would report errors on slow riscv64 SBCs. Change-Id: I7437c514fb60965a76fe80b0d8629f9c76a80d15 Reviewed-by: Nicolas Graves Signed-off-by: Sharlatan Hellseher --- gnu/packages/check.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index c597210d5307f22e913d2c9b94df3c5709a6b0dc..2e9ae12d8d28bb63c763ed261ccfc08140a2e900 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