diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-20 13:36:09 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-20 13:54:28 +0100 |
| commit | 780f4f38ffcec55d7febefa042f653a465ac1a07 (patch) | |
| tree | 1822e8b952fc6aebc777a25b125c2e5c1ff3624f | |
| parent | b7049c08f09644fdb357fee191d8919cf9858aff (diff) | |
gnu: python-pytest-mpi: Skip some tests on aarch64-linux.
Fixing #688.
* gnu/packages/python-check.scm (python-pytest-mpi) [arguments]
<test-flags>: Skip some tests on aarch64-linux system.
Change-Id: I03e91c59965c7bd41ec9369c74b5b8933424799c
| -rw-r--r-- | gnu/packages/python-check.scm | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 587fbac11ec..63678a1d5fa 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2574,7 +2574,23 @@ framework and makes it easy to undo any monkey patching. The fixtures are: (build-system pyproject-build-system) (arguments ;; See <https://github.com/aragilar/pytest-mpi/issues/4>. - (list #:test-flags #~(list "-p" "pytester"))) + (list #:test-flags + #~(list "-p" "pytester" + #$@(if (target-aarch64?) + ;; Some tests fail on non x86_64 more likely the + ;; project does not support any other ones, see + ;; <ci/azure-pipelines-steps.yml>. + ;; ValueError: Pytest terminal summary report not found + '("-k" (string-join + (list "not test_mpi_file_name" + "test_mpi_only_mpi" + "test_mpi_skip_under_mpi" + "test_mpi_tmp_path" + "test_mpi_tmpdir" + "test_mpi_with_mpi" + "test_mpi_xfail_under_mpi") + " and not ")) + '())))) (native-inputs (list openmpi python-pytest |
