summaryrefslogtreecommitdiff
path: root/tests/color.test
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-10-05 21:24:32 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-10-05 21:24:32 +0200
commit26f7cb7a3938bd296ab728e65678512d9e8dcb24 (patch)
treee72e21b8b68571162bfd9d0f11f5d48d5d00569e /tests/color.test
parent2205fc6529f93237b1ea79d8d321a110e56d45ed (diff)
downloadautomake-26f7cb7a3938bd296ab728e65678512d9e8dcb24.tar.gz
Print captured output before failing.
* tests/acloca14.test, tests/acloca17.test, tests/acloca18.test, tests/aclocal.test, tests/acsilent.test, tests/alpha.test, tests/check4.test, tests/color.test, tests/fn99.test, tests/fn99subdir.test, tests/help.test, tests/init.test, tests/lisp8.test, tests/missing3.test, tests/pr220.test, tests/python11.test, tests/python4.test, tests/python5.test, tests/unused.test, tests/version8.test: When Exit is called after a command that has stdout or stderr redirected to a file for later inspection, output the file before failing the test. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/color.test')
-rwxr-xr-xtests/color.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/color.test b/tests/color.test
index 5a02e8d19..cd668454b 100755
--- a/tests/color.test
+++ b/tests/color.test
@@ -105,11 +105,11 @@ AM_COLOR_TESTS=always $MAKE -e check >stdout && { cat stdout; Exit 1; }
cat stdout
test_color
-MAKE=$MAKE expect -f expect-make >stdout || Exit 77
+MAKE=$MAKE expect -f expect-make >stdout || { cat stdout; Exit 77; }
cat stdout
test_color
-AM_COLOR_TESTS=no MAKE=$MAKE expect -f expect-make >stdout || Exit 77
+AM_COLOR_TESTS=no MAKE=$MAKE expect -f expect-make >stdout || { cat stdout; Exit 77; }
cat stdout
test_no_color
: