mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
tests: Adjust 'guix build -S' test for source-less packages.
This is a followup to 8a54c0ec69
.
* tests/guix-build.sh: Allow 'guix build -S' to succeed with source-less
packages. Check that the result is the empty string.
This commit is contained in:
parent
2b4363891c
commit
d223ac4acc
1 changed files with 3 additions and 3 deletions
|
@ -26,9 +26,9 @@ guix build --version
|
|||
if guix build -e +;
|
||||
then false; else true; fi
|
||||
|
||||
# Should fail because this is a source-less package.
|
||||
if guix build -e '(@ (gnu packages bootstrap) %bootstrap-glibc)' -S
|
||||
then false; else true; fi
|
||||
# Source-less packages are accepted; they just return nothing.
|
||||
guix build -e '(@ (gnu packages bootstrap) %bootstrap-glibc)' -S
|
||||
test "`guix build -e '(@ (gnu packages bootstrap) %bootstrap-glibc)' -S`" = ""
|
||||
|
||||
# Should pass.
|
||||
guix build -e '(@@ (gnu packages bootstrap) %bootstrap-guile)' | \
|
||||
|
|
Loading…
Reference in a new issue