From 8abe528c22ae1d837cfaa4732e19c6c2b9e15086 Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Sun, 26 Aug 2018 14:53:08 +0200 Subject: Mention PRINT_LOGS=1 when failing test suite It seems people don't always look at the test suite readme. --- test-suite/report.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test-suite/report.sh b/test-suite/report.sh index e83827973b..05f39b4b02 100755 --- a/test-suite/report.sh +++ b/test-suite/report.sh @@ -45,6 +45,11 @@ fi if grep -q -F 'Error!' summary.log ; then echo FAILURES; grep -F 'Error!' summary.log; + if [ -z "$TRAVIS" ] && [ -z "$PRINT_LOGS" ]; then + echo 'To print details of failed tests, rerun with environment variable PRINT_LOGS=1' + echo 'eg "make report PRINT_LOGS=1" from the test suite directory"' + echo 'See README.md in the test suite directory for more information.' + fi false else echo NO FAILURES; fi -- cgit v1.2.3