From a64ef3e48066c9a9dbfd65683cb16a62783df4fc Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Thu, 5 Apr 2012 15:44:47 +0200 Subject: [PATCH] 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 --- tests/instdir-no-empty.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/instdir-no-empty.test b/tests/instdir-no-empty.test index 9251b13..6f105c0 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 : -- 2.7.4