guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 6cd31cbb1f0c70a992a433388d2f3caec456f804
Author: Martin Schitter <[email protected]>
AuthorDate: Fri Oct 10 17:12:04 2025 +0000

    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 <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 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 c597210d53..2e9ae12d8d 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

Reply via email to