* 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