guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: tar: Disable troublesome tests on the


From: guix-commits
Subject: branch core-updates updated: gnu: tar: Disable troublesome tests on the Hurd.
Date: Mon, 20 Apr 2020 02:30:10 -0400

This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 4e0059b  gnu: tar: Disable troublesome tests on the Hurd.
4e0059b is described below

commit 4e0059beb1a7cf857f1575792febf995aadbef40
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Wed Apr 15 09:42:09 2020 +0200

    gnu: tar: Disable troublesome tests on the Hurd.
    
    The sparse03.at test apparently freezes the Hurd; messages
    on the console:
    
    165: listing sparse files bigger than 2^33
    
    ext2fs: device:hd0s1: warning: bit already cleared for block 245780
    ext2fs: device:hd0s1: warning: bit already cleared for block 245781
    ext2fs: device:hd0s1: warning: bit already cleared for block 245782
    ...
    ext2fs: BUG: unexpected fault on disk image ... err 0xa
    ext2fs: disk-pager.c:98: fault_handler: Assertion 'err' failed.
    
    the other tests just fail.
    
    * gnu/packages/base.scm (tar)[arguments]: When compiling for the Hurd,
    skip `sparse' and failing tests.
---
 gnu/packages/base.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 9041d99..31563ba 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -171,7 +171,22 @@ implementation offers several extensions over the standard 
utility.")
    (build-system gnu-build-system)
    ;; Note: test suite requires ~1GiB of disk space.
    (arguments
-    `(#:phases (modify-phases %standard-phases
+    `(,@(if (hurd-target?)
+            '(#:make-flags
+              (list (string-append
+                     "TESTSUITEFLAGS= -k '"
+                     "!sparse"
+                     ",!renamed dirs in incrementals"
+                     ",!--exclude-tag option in incremental pass"
+                     ",!incremental dumps with -C"
+                     ",!incremental dumps of nested directories"
+                     ",!incremental restores with -C"
+                     ",!concatenated incremental archives (renames)"
+                     ",!renamed directory containing subdirectories"
+                     ",!renamed subdirectories"
+                     "'")))
+            '())
+      #:phases (modify-phases %standard-phases
                  (add-before 'build 'set-shell-file-name
                    (lambda* (#:key inputs #:allow-other-keys)
                      ;; Do not use "/bin/sh" to run programs.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]