diff options
-rwxr-xr-x | run_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py index 1317380..0a47157 100755 --- a/run_tests.py +++ b/run_tests.py @@ -426,5 +426,8 @@ if __name__ == '__main__': print('\nTotal passed tests:', passing_tests) print('Total failed tests:', failing_tests) print('Total skipped tests:', skipped_tests) + if failing_tests > 0 and 'TRAVIS' in os.environ: + # Cat because it can have stuff of unknown encodings mixed. + subprocess.call(['cat', 'meson-test-run.txt']) sys.exit(failing_tests) |