janneke pushed a commit to branch core-updates
in repository guix.
commit 2c7ea1892520396c5ced4904b943ae142948aec9
Author: Jan Nieuwenhuizen <[email protected]>
AuthorDate: Thu Mar 5 14:25:08 2020 -0500
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.
---
gnu/packages/base.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index da18a9d..43dc8c4 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 _