mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
gnu: guix: Disable some tests on the Hurd.
* gnu/packages/package-management.scm (guix)[arguments]: When building on the Hurd, add phase disable-tests/hurd.
This commit is contained in:
parent
5898b2e8a3
commit
4dfdd82210
1 changed files with 40 additions and 0 deletions
|
@ -263,6 +263,46 @@ (define-public guix
|
|||
(substitute* "tests/gexp.scm"
|
||||
(("2\\.0") "3.0")))))
|
||||
'())
|
||||
,@(if (system-hurd?)
|
||||
`((add-after 'unpack 'disable-tests/hurd
|
||||
(lambda _
|
||||
(substitute* "Makefile.am"
|
||||
(("tests/derivations.scm") "")
|
||||
(("tests/grafts.scm") "")
|
||||
(("tests/graph.scm") "")
|
||||
(("tests/lint.scm") "")
|
||||
(("tests/nar.scm") "")
|
||||
(("tests/offload.scm") "")
|
||||
(("tests/pack.scm") "")
|
||||
(("tests/packages.scm") "")
|
||||
(("tests/processes.scm") "")
|
||||
(("tests/publish.scm") "")
|
||||
(("tests/pypi.scm") "")
|
||||
(("tests/size.scm") "")
|
||||
(("tests/store.scm") "")
|
||||
(("tests/substitute.scm") "")
|
||||
(("tests/syscalls.scm") "")
|
||||
(("tests/union.scm") "")
|
||||
(("tests/guix-build.sh") "")
|
||||
(("tests/guix-build-branch.sh") "")
|
||||
(("tests/guix-hash.sh") "")
|
||||
(("tests/guix-locate.sh") "")
|
||||
(("tests/guix-pack.sh") "")
|
||||
(("tests/guix-pack-relocatable.sh") "")
|
||||
(("tests/guix-package-aliases.sh") "")
|
||||
(("tests/guix-package-net.sh") "")
|
||||
(("tests/guix-home.sh") "")
|
||||
(("tests/guix-archive.sh") "")
|
||||
(("tests/guix-environment.sh") "")
|
||||
(("tests/guix-package.sh") "")
|
||||
(("tests/guix-refresh.sh") "")
|
||||
(("tests/guix-shell.sh") "")
|
||||
(("tests/guix-shell-export-manifest.sh") "")
|
||||
(("tests/guix-system.sh") "")
|
||||
(("tests/guix-graph.sh") "")
|
||||
(("tests/guix-gc.sh") "")
|
||||
(("tests/guix-daemon.sh") "")))))
|
||||
'())
|
||||
(add-before 'build 'use-host-compressors
|
||||
(lambda* (#:key inputs target #:allow-other-keys)
|
||||
(when target
|
||||
|
|
Loading…
Reference in a new issue