diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-05-30 22:29:27 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-05-30 22:29:27 +0300 |
commit | 37c5d45d0715bda5ff163ff7c36fbdace009ee47 (patch) | |
tree | 4f54da5447ed905d183158883f01fc09b1cb5e7e | |
parent | 432f515bc0ff73c7745d8cfe7d4597993a05fe85 (diff) | |
download | meson-37c5d45d0715bda5ff163ff7c36fbdace009ee47.zip meson-37c5d45d0715bda5ff163ff7c36fbdace009ee47.tar.gz meson-37c5d45d0715bda5ff163ff7c36fbdace009ee47.tar.bz2 |
Print all of the things when CI fails.
-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) |