From 1e9e91f25ad176b263868c9d2eb156205a42d32c Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 13 Jun 2016 22:27:12 +0300 Subject: Print full log when failures happen under Appveyor. --- .appveyor.yml | 3 --- run_tests.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 2db19f8..f7b5c9d 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -23,6 +23,3 @@ build_script: test_script: - cmd: c:\python34\python3 run_tests.py --backend=ninja - -artifacts: - - path: meson-test-run.txt diff --git a/run_tests.py b/run_tests.py index 1c6ae11..50aa006 100755 --- a/run_tests.py +++ b/run_tests.py @@ -431,7 +431,7 @@ 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: + if failing_tests > 0 and ('TRAVIS' in os.environ or 'APPVEYOR' 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.1