diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-03-02 14:44:18 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-03-02 14:47:07 +0100 |
commit | 442a6ff5eae094f1fd4e09241a2f35c33ab908da (patch) | |
tree | d4b142a289b584d54ca5fd8841c2ecb9aa87994c /test-env.in | |
parent | 637cd1254320fd89fe6d910b3fa7665b19487072 (diff) |
tests: Disable grafts by default.
Fixes <http://bugs.gnu.org/22872>.
Reported by myglc2 <myglc2@gmail.com>.
* test-env.in: Define and export 'GUIX_BUILD_OPTIONS'.
* tests/guix-build.sh: When setting 'GUIX_BUILD_OPTIONS', make sure it
contains '--no-grafts'.
* tests/guix-package.sh: Likewise.
* tests/guix-daemon.sh: Add (%graft? #f) in Scheme snippets.
Diffstat (limited to 'test-env.in')
-rw-r--r-- | test-env.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test-env.in b/test-env.in index 67f4f805fa..799a62276f 100644 --- a/test-env.in +++ b/test-env.in @@ -108,8 +108,13 @@ unset LANGUAGE LC_MESSAGES=C export LC_MESSAGES +# Disable grafts by default because they can cause things to be built +# regardless of '--dry-run'. +GUIX_BUILD_OPTIONS="--no-grafts" +export GUIX_BUILD_OPTIONS + # Ignore user settings. -unset GUIX_PACKAGE_PATH GUIX_BUILD_OPTIONS +unset GUIX_PACKAGE_PATH storedir="@storedir@" prefix="@prefix@" |