diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2018-01-19 00:38:34 +0100 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2018-01-19 01:22:54 +0100 |
commit | 303effad5c8d19da7cfbde14b8a94cf6575aa23f (patch) | |
tree | f7ba9f2c93d6a43f3bf818e72b83af73636c5619 /t | |
parent | 826408a7f6ca4c39ff7b7ac9952c05f48110748f (diff) | |
download | automake-303effad5c8d19da7cfbde14b8a94cf6575aa23f.tar.gz |
tests: Let 'ltorder.sh' run successfully with Guix dynamic loader
* t/ltorder.sh: Set GUIX_LD_WRAPPER_ALLOW_IMPURITIES environment variable to
unlock the dynamic loader provided by GNU Guix.
Diffstat (limited to 't')
-rw-r--r-- | t/ltorder.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/ltorder.sh b/t/ltorder.sh index 74cd6ff5d..4cfdddf7a 100644 --- a/t/ltorder.sh +++ b/t/ltorder.sh @@ -52,6 +52,12 @@ $AUTOMAKE --add-missing ./configure --prefix="$(pwd)/inst" +# XXX: This is a workaround for a purity mechanism implemented by GNU Guix. +# For more details see +# <https://www.gnu.org/s/guix/manual/html_node/Application-Setup.html#index-ld_002dwrapper>. +GUIX_LD_WRAPPER_ALLOW_IMPURITIES=1 +export GUIX_LD_WRAPPER_ALLOW_IMPURITIES + $MAKE run_make -E install grep 'has not been installed' stderr && exit 1 |