diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-06-13 22:27:12 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-06-13 22:27:12 +0300 |
commit | 1e9e91f25ad176b263868c9d2eb156205a42d32c (patch) | |
tree | 80ae31987cd5d2a795c790ecdc418f7f004544d4 | |
parent | 60d33f0ad750073e8bbf2df41b3adb5f556c5332 (diff) | |
download | meson-1e9e91f25ad176b263868c9d2eb156205a42d32c.zip meson-1e9e91f25ad176b263868c9d2eb156205a42d32c.tar.gz meson-1e9e91f25ad176b263868c9d2eb156205a42d32c.tar.bz2 |
Print full log when failures happen under Appveyor.
-rw-r--r-- | .appveyor.yml | 3 | ||||
-rwxr-xr-x | run_tests.py | 2 |
2 files changed, 1 insertions, 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) |