From 12aa69a0c2ef4a60cbd95ea2dc4e0d6b8e10acb6 Mon Sep 17 00:00:00 2001 From: ZyX Date: Thu, 23 Jan 2014 15:58:52 +0400 Subject: [PATCH] Also output full.log Hope it will give some hints about why fish tests fail on travis --- tests/test_shells/test.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/test_shells/test.sh b/tests/test_shells/test.sh index 04aaab68..0fbc417e 100755 --- a/tests/test_shells/test.sh +++ b/tests/test_shells/test.sh @@ -35,9 +35,20 @@ run_test() { ./tests/test_shells/postproc.py tests/shell/screen.log ${SH} cp tests/shell/screen.log tests/shell/${SH}.log if ! check_screen_log ${SH} ; then + echo '____________________________________________________________' # Repeat the diff to make it better viewable in travis output + echo "Diff (cat -v):" + echo '============================================================' check_screen_log ${SH} | cat -v - echo "Failed ${SH}" + echo '____________________________________________________________' + echo "Failed ${SH}. Full output:" + echo '============================================================' + cat tests/shell/${SH}.full.log + echo '____________________________________________________________' + echo "Full output (cat -v):" + echo '============================================================' + cat -v tests/shell/${SH}.full.log + echo '____________________________________________________________' rm tests/shell/screen.log return 1 fi