Print full log when failures happen under Appveyor.

pull/593/head
Jussi Pakkanen 9 years ago
parent 60d33f0ad7
commit 1e9e91f25a
  1. 3
      .appveyor.yml
  2. 2
      run_tests.py

@ -23,6 +23,3 @@ build_script:
test_script:
- cmd: c:\python34\python3 run_tests.py --backend=ninja
artifacts:
- path: meson-test-run.txt

@ -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)

Loading…
Cancel
Save