mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 12:09:15 -05:00
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.
This commit is contained in:
parent
aa8db0ed0d
commit
4e0059beb1
1 changed files with 16 additions and 1 deletions
|
@ -171,7 +171,22 @@ (define-public tar
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
;; Note: test suite requires ~1GiB of disk space.
|
;; Note: test suite requires ~1GiB of disk space.
|
||||||
(arguments
|
(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
|
(add-before 'build 'set-shell-file-name
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
;; Do not use "/bin/sh" to run programs.
|
;; Do not use "/bin/sh" to run programs.
|
||||||
|
|
Loading…
Reference in a new issue