summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-04-05 15:44:47 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-04-05 15:44:47 +0200
commita64ef3e48066c9a9dbfd65683cb16a62783df4fc (patch)
treef4bc705fc68ab6d0bce39f264947c701517ce969
parent97ae26eaa9009e60537dfb18f5f7cd3a412ae7fd (diff)
downloadautomake-a64ef3e48066c9a9dbfd65683cb16a62783df4fc.tar.gz
tests: fix a spurious failures with non-GNU make
* tests/instdir-no-empty.test: Also pass proper AM_MAKEFLAGS to make invocations that might recurse, to ensure the macro definitions passed from the command line are properly propagated. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
-rwxr-xr-xtests/instdir-no-empty.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/instdir-no-empty.test b/tests/instdir-no-empty.test
index 9251b1331..6f105c025 100755
--- a/tests/instdir-no-empty.test
+++ b/tests/instdir-no-empty.test
@@ -110,14 +110,14 @@ doinst ()
doinst
test ! -d inst || { find inst; Exit 1; }
$MAKE uninstall
-doinst bin_SCRIPTS=foo.sh
+doinst bin_SCRIPTS=foo.sh AM_MAKEFLAGS='bin_SCRIPTS=foo.sh'
test -f inst/bin/foo.sh
./configure
doinst DESTDIR="$cwd/dest"
test ! -d dest || { find dest; Exit 1; }
$MAKE uninstall
-doinst DESTDIR="$cwd/dest" bin_SCRIPTS=foo.sh
+doinst DESTDIR="$cwd/dest" bin_SCRIPTS=foo.sh AM_MAKEFLAGS='bin_SCRIPTS=foo.sh'
test -f dest/usr/local/bin/foo.sh
: