summaryrefslogtreecommitdiff
path: root/t/python-virtualenv.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-05-14 15:50:12 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-05-15 12:28:42 +0200
commit7810a65de4899ef3c6489fb30cc2458c24c25ca8 (patch)
tree6f05be8e5c7efce69ccaebea921a823c71eb96e9 /t/python-virtualenv.sh
parentc6b827b2f82ed40a3ddee2f1e986e186cacffb67 (diff)
downloadautomake-7810a65de4899ef3c6489fb30cc2458c24c25ca8.tar.gz
tests: less uses of "make -e"; avoid spurious failures in 'check-cc-no-c-o'
That is, when the testsuite is run using a fake C compiler that doesn't grasp the '-c' and '-o' options together. * t/instdir-prog.sh: Adjust. * t/instdir-ltlib.sh: Likewise. * t/python-virtualenv.sh: Likewise. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/python-virtualenv.sh')
-rwxr-xr-xt/python-virtualenv.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/t/python-virtualenv.sh b/t/python-virtualenv.sh
index a67e7c273..faf1d5a50 100755
--- a/t/python-virtualenv.sh
+++ b/t/python-virtualenv.sh
@@ -178,13 +178,12 @@ $MAKE distclean
# Overriding pythondir and pyexecdir at make time should be enough.
./configure --prefix="$cwd/bad-prefix"
-pythondir=$py_site pyexecdir=$py_site
-export pythondir pyexecdir
-check_install -e
+check_install pythondir="$py_site" pyexecdir="$py_site" \
+ AM_MAKEFLAGS="pythondir='$py_site' pyexecdir='$py_site'"
test ! -e bad-prefix
$MAKE test-run
-check_uninstall -e
-unset pythondir pyexecdir
+check_uninstall pythondir="$py_site" pyexecdir="$py_site" \
+ AM_MAKEFLAGS="pythondir='$py_site' pyexecdir='$py_site'"
# Also check that the distribution is self-contained, for completeness.
$MAKE distcheck