diff options
| author | Gaëtan Gilbert | 2018-08-26 14:53:08 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2018-09-13 14:00:34 +0200 |
| commit | 8abe528c22ae1d837cfaa4732e19c6c2b9e15086 (patch) | |
| tree | 1bad20b13912aa331449500c54b4d707f10a400a | |
| parent | 53c806cc1adf9cc2f949d3bc641494675e0e73ed (diff) | |
Mention PRINT_LOGS=1 when failing test suite
It seems people don't always look at the test suite readme.
| -rwxr-xr-x | test-suite/report.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
