aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-06-13 22:27:12 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-06-13 22:27:12 +0300
commit1e9e91f25ad176b263868c9d2eb156205a42d32c (patch)
tree80ae31987cd5d2a795c790ecdc418f7f004544d4 /run_tests.py
parent60d33f0ad750073e8bbf2df41b3adb5f556c5332 (diff)
downloadmeson-1e9e91f25ad176b263868c9d2eb156205a42d32c.zip
meson-1e9e91f25ad176b263868c9d2eb156205a42d32c.tar.gz
meson-1e9e91f25ad176b263868c9d2eb156205a42d32c.tar.bz2
Print full log when failures happen under Appveyor.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py2
1 files changed, 1 insertions, 1 deletions
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)