diff options
| author | Rutherther <rutherther@ditigal.xyz> | 2025-12-24 19:12:30 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-04 12:46:54 +0100 |
| commit | cd5fb8ce34a22cbf8c7bf0cb53aab860e252d764 (patch) | |
| tree | b9f2095a8582692ae139f8a06b17025d87d6cbfa | |
| parent | d339785a0fbd8f13930082a4fa7a73b6685630fd (diff) | |
gnu: guix: Disable new syscall tests on armhf.
These tests currently fail on armhf. They would require large amount of time
or knowledge to be fixed and it's on a platform that's already not being
supported too well.
Followup of d339785a0fbd8f13930082a4fa7a73b6685630fd.
* gnu/packages/package-management.scm (guix): Disable new tests in
tests/syscalls.scm on arm32.
Change-Id: I056fb04a9a1230ed3d8718a4719a5f6d7010b847
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
| -rw-r--r-- | gnu/packages/package-management.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 71977aaa9f3..21a9217c0c6 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm | |||
| @@ -412,6 +412,19 @@ $(prefix)/etc/openrc\n"))) | |||
| 412 | (substitute* "tests/guix-environment-container.sh" | 412 | (substitute* "tests/guix-environment-container.sh" |
| 413 | (("guix environment --version") | 413 | (("guix environment --version") |
| 414 | "exit 77\n"))))) | 414 | "exit 77\n"))))) |
| 415 | ,@(if (target-arm32?) | ||
| 416 | `((add-after | ||
| 417 | 'disable-failing-tests | ||
| 418 | 'disable-failing-tests-on-arm32 | ||
| 419 | ;; XXX FIXME: These tests fail on armhf architecture, | ||
| 420 | ;; see <https://codeberg.org/guix/guix/issues/5078>. | ||
| 421 | (lambda _ | ||
| 422 | (substitute* "tests/syscalls.scm" | ||
| 423 | (("^\\(test-equal \"safe-clone and unshare succeeds\"" all) | ||
| 424 | (string-append "(test-skip 1)\n" all)) | ||
| 425 | (("^\\(test-equal \"clone and unshare triggers EINVAL\"" all) | ||
| 426 | (string-append "(test-skip 1)\n" all)))))) | ||
| 427 | '()) | ||
| 415 | (add-before 'check 'set-SHELL | 428 | (add-before 'check 'set-SHELL |
| 416 | (lambda _ | 429 | (lambda _ |
| 417 | ;; 'guix environment' tests rely on 'SHELL' having a | 430 | ;; 'guix environment' tests rely on 'SHELL' having a |
