~ruther/guix-local

6cd31cbb1f0c70a992a433388d2f3caec456f804 — Martin Schitter 7 months ago 61ede04
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>
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +6 -1
@@ 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