Show test-suite.sh log on errors in full-test-suite.sh.

This commit is contained in:
Nathan Wilcox 2015-12-21 19:23:29 -08:00
parent d7ad5f3c45
commit 5b7a710ea3
1 changed files with 9 additions and 1 deletions

View File

@ -29,7 +29,15 @@ cd "${REPOROOT}"
# Test phases:
run_test_phase "${REPOROOT}/qa/zerocash/ensure-no-dot-so-in-depends.py"
run_test_phase make check
# If make check fails, show test-suite.log as part of our run_test_phase
# output (and fail the phase with false):
run_test_phase make check '||' \
'{' \
echo '=== ./src/test-suite.log ===' ';' \
cat './src/test-suite.log' ';' \
false ';' \
'}'
exit $SUITE_EXIT_STATUS