summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2020-03-05 14:25:08 -0500
committerJan Nieuwenhuizen <janneke@gnu.org>2020-03-29 15:31:17 +0200
commit2c7ea1892520396c5ced4904b943ae142948aec9 (patch)
tree39dd9bbaa2e2a968819264c791d901388648cdb3 /gnu
parentba2f61bb0528d9529a675ae3815977df8aaaae28 (diff)
downloadguix-2c7ea1892520396c5ced4904b943ae142948aec9.tar.gz
gnu: coreutils: Handle failing tests on Hurd.
* gnu/base/coreutils.scm (coreutils)[arguments]: Use make-flags to mark some
tests XFAIL_TESTS on the Hurd.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/base.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index da18a9d60b..43dc8c492e 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -322,6 +322,20 @@ used to apply commands with arbitrarily long arguments.")
    (outputs '("out" "debug"))
    (arguments
     `(#:parallel-build? #f            ; help2man may be called too early
+      ,@(if (hurd-target?)
+            '(#:make-flags            ; these tests fail deterministically
+              (list (string-append "XFAIL_TESTS=tests/misc/env-S.pl"
+                                   " tests/misc/kill.sh"
+                                   " tests/misc/nice.sh"
+                                   " tests/split/fail.sh"
+                                   " test-fdutimensat"
+                                   " test-futimens"
+                                   " test-linkat"
+                                   " test-renameat"
+                                   " test-renameatu"
+                                   " test-tls"
+                                   " test-utimensat")))
+            '())
       #:phases (modify-phases %standard-phases
                  (add-before 'build 'patch-shell-references
                    (lambda _