From 9f4c8d5a570ae331dcb055424b6d047a4c9739f2 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 18 May 2026 16:09:26 +0100 Subject: gnu: python-psutil: Skip 2 tests on 32bit systems. * gnu/packages/python-xyz.scm (python-psutil): [arguments] : Skip two tests on 32bit systesm. Change-Id: I9caaa7687359b8dec25c03b6df49970892171a95 --- gnu/packages/python-xyz.scm | 16 ++++++++++++++-- 1 file 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 -- cgit v1.3