automake-patches
[Top][All Lists]
Advanced

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

[PATCH] Fix maintainer-check failure.


From: Ralf Wildenhues
Subject: [PATCH] Fix maintainer-check failure.
Date: Mon, 12 Nov 2007 19:58:21 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* tests/color.test: unset TESTS, use `make -e' rather than
`make MACRO=val'.
---
Applied to master.

 tests/color.test |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/tests/color.test b/tests/color.test
index b7ba486..d30d1e0 100755
--- a/tests/color.test
+++ b/tests/color.test
@@ -86,19 +86,21 @@ test_no_color ()
 
 cat >expect-make <<'END'
 #! /usr/bin/expect -f
-spawn $env(MAKE) check $argv
+spawn $env(MAKE) -e check
 expect eof
 END
 
-$MAKE check AM_COLOR_TESTS=always >stdout && { cat stdout; exit 1; }
+unset TESTS
+
+AM_COLOR_TESTS=always $MAKE -e check >stdout && { cat stdout; exit 1; }
 cat stdout
 test_color
 
-MAKE=$MAKE expect -f expect-make foo= >stdout || exit 77
+MAKE=$MAKE expect -f expect-make >stdout || exit 77
 cat stdout
 test_color
 
-MAKE=$MAKE expect -f expect-make AM_COLOR_TESTS=no >stdout || exit 77
+AM_COLOR_TESTS=no MAKE=$MAKE expect -f expect-make >stdout || exit 77
 cat stdout
 test_no_color
 :
-- 
1.5.3.5.561.g140d





reply via email to

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