diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-18 16:09:26 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-18 16:09:35 +0100 |
| commit | 9f4c8d5a570ae331dcb055424b6d047a4c9739f2 (patch) | |
| tree | e7978f10da98813983ddc3b91602d7f5248b1a96 | |
| parent | 1926323d08e0ac9af5a594a3bd9b8720b0a5345f (diff) | |
gnu: python-psutil: Skip 2 tests on 32bit systems.
* gnu/packages/python-xyz.scm (python-psutil):
[arguments] <test-flags>: Skip two tests on 32bit systesm.
Change-Id: I9caaa7687359b8dec25c03b6df49970892171a95
| -rw-r--r-- | gnu/packages/python-xyz.scm | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 748c09cd2f..766859a7c8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5235,7 +5235,8 @@ access the technical and tag data for video and audio files.") (build-system pyproject-build-system) (arguments (list - ;; tests: 414 passed, 278 skipped + ;; tests: X86_64-linux 414 passed, 278 skipped + ;; i686-linux 410 passed, 278 skipped #:test-flags #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))) "--dist" "loadgroup" @@ -5272,7 +5273,18 @@ access the technical and tag data for video and audio files.") "test_import_all") ;; FileNotFoundError: [Errno 2] No such file or ;; directory: '/sys/class/power_supply' - ("test_misc.py" "TestMisc" "test_serialization")))) + ("test_misc.py" "TestMisc" "test_serialization"))) + #$@(if (target-32bit?) + (map (lambda (ls) (string-append "--deselect=tests/" + (string-join ls "::"))) + ;; assert 12884901915 < 500 where 12884901915 = + ;; abs((2596570605 - 15481472520)) + '(("test_linux.py" "TestSystemCPUStats" + "test_interrupts") + ;; OSError: [Errno 22] Invalid argument + ("test_process.py" "TestProcess" + "test_zombie_process"))) + '())) #:phases #~(modify-phases %standard-phases (add-before 'check 'pre-check |
