mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
tests: Make ‘tests/print.scm’ deterministic.
The “package with inputs” test would fail non-deterministically: sometimes ‘package->code’ would pick the ‘glibc’ symbol, sometimes it would take ‘glibc/hurd’, which is an alias for ‘glibc’. * tests/print.scm (pkg-with-inputs)[inputs]: Replace ‘glibc’ with ‘gnu-make’. Change-Id: Ie192adda98d66546fae820a6bcdd5bb4b9f4dae7
This commit is contained in:
parent
bd59254b82
commit
b5303183ef
1 changed files with 6 additions and 1 deletions
|
@ -61,8 +61,13 @@ (define-with-source pkg-with-inputs pkg-with-inputs-source
|
|||
(base32
|
||||
"070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah"))))
|
||||
(build-system (@ (guix build-system gnu) gnu-build-system))
|
||||
|
||||
;; Note: For this test, pick variables that do not have aliases; otherwise
|
||||
;; 'package->code' might pick one of the other variable names in a
|
||||
;; non-deterministic fashion.
|
||||
(inputs (list (@ (gnu packages base) coreutils)
|
||||
`(,(@ (gnu packages base) glibc) "debug")))
|
||||
`(,(@ (gnu packages base) gnu-make) "debug")))
|
||||
|
||||
(home-page "http://gnu.org")
|
||||
(synopsis "Dummy")
|
||||
(description "This is a dummy package.")
|
||||
|
|
Loading…
Reference in a new issue