automake-ng
[Top][All Lists]
Advanced

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

[Automake-NG] [FYI] [ng] tests: fix spurious failure in t/color-tests2.s


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] [ng] tests: fix spurious failure in t/color-tests2.sh
Date: Wed, 25 Jul 2012 00:39:45 +0200

* t/color-tests2.sh: Change the idioms used to specify the value of
'AM_COLOR_TESTS' to make.  This is required since, in contrast with
what happens in the mainline Automake counterpart, this script doesn't
invoke make with the '-e' option.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 t/color-tests2.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/color-tests2.sh b/t/color-tests2.sh
index f8bd85b..c66dbe5 100755
--- a/t/color-tests2.sh
+++ b/t/color-tests2.sh
@@ -130,7 +130,7 @@ for vpath in false :; do
   cat stdout
   test_no_color
 
-  AM_COLOR_TESTS=no MAKE=$MAKE expect -f $srcdir/expect-make >stdout \
+  MAKE="$MAKE AM_COLOR_TESTS=no" expect -f $srcdir/expect-make >stdout \
     || { cat stdout; exit 1; }
   cat stdout
   test_no_color
@@ -142,7 +142,7 @@ for vpath in false :; do
   cat stdout
   test_no_color
 
-  TERM=ansi MAKE="env AM_COLOR_TESTS=always $MAKE" \
+  TERM=ansi MAKE="$MAKE AM_COLOR_TESTS=always" \
     expect -f $srcdir/expect-make >stdout || { cat stdout; exit 1; }
   cat stdout
   test_color
-- 
1.7.12.rc0




reply via email to

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