aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-05-30 22:29:27 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-05-30 22:29:27 +0300
commit37c5d45d0715bda5ff163ff7c36fbdace009ee47 (patch)
tree4f54da5447ed905d183158883f01fc09b1cb5e7e /run_tests.py
parent432f515bc0ff73c7745d8cfe7d4597993a05fe85 (diff)
downloadmeson-37c5d45d0715bda5ff163ff7c36fbdace009ee47.zip
meson-37c5d45d0715bda5ff163ff7c36fbdace009ee47.tar.gz
meson-37c5d45d0715bda5ff163ff7c36fbdace009ee47.tar.bz2
Print all of the things when CI fails.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py3
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)