From 37c5d45d0715bda5ff163ff7c36fbdace009ee47 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 30 May 2016 22:29:27 +0300 Subject: Print all of the things when CI fails. --- run_tests.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'run_tests.py') diff --git a/run_tests.py b/run_tests.py index 131738099..0a471576d 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) -- cgit v1.2.3