From: Mathieu Lirzin Date: Thu, 18 Jan 2018 23:38:34 +0000 (+0100) Subject: tests: Let 'ltorder.sh' run successfully with Guix dynamic loader X-Git-Tag: v1.16~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=303effad5c8d19da7cfbde14b8a94cf6575aa23f;p=thirdparty%2Fautomake.git 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. --- 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 +# . +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