From: Stefano Lattarini Date: Thu, 5 Apr 2012 13:44:47 +0000 (+0200) Subject: tests: fix a spurious failures with non-GNU make X-Git-Tag: v1.11b~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a64ef3e48066c9a9dbfd65683cb16a62783df4fc;p=thirdparty%2Fautomake.git 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 --- 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 :