automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} tests: fix a spurious failures with non-GNU make


From: Stefano Lattarini
Subject: [FYI] {master} tests: fix a spurious failures with non-GNU make
Date: Thu, 5 Apr 2012 15:45:20 +0200

* 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 <address@hidden>
---
 tests/instdir-no-empty.test |    4 ++--
 1 files 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
 
 :
-- 
1.7.9




reply via email to

[Prev in Thread] Current Thread [Next in Thread]