diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-10-03 15:24:21 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-10-03 15:24:21 +0200 |
commit | d223ac4acc51602e1be91d611ea2b4266edf6ee3 (patch) | |
tree | c7d7e80de89b862e5c4c6ae449b95463a2859e2f /tests/guix-build.sh | |
parent | 2b4363891c70bbf641bff8ff0a6fb7526babd5b9 (diff) |
tests: Adjust 'guix build -S' test for source-less packages.
This is a followup to 8a54c0ec694ad6e22b155d167552b8fd0914e82d.
* tests/guix-build.sh: Allow 'guix build -S' to succeed with source-less
packages. Check that the result is the empty string.
Diffstat (limited to 'tests/guix-build.sh')
-rw-r--r-- | tests/guix-build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/guix-build.sh b/tests/guix-build.sh index 9e9788bca0..e1ec560641 100644 --- a/tests/guix-build.sh +++ b/tests/guix-build.sh @@ -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)' | \ |