project tests: Always print the logs of failing tests

There is never any reason to not do this since this script is supposed
to be run by developers and testers who are concerned with the details
of the problems.

It also helps with intermittent or hard-to-reproduce errors.
pull/1274/head
Nirbheek Chauhan 8 years ago committed by Jussi Pakkanen
parent dc70916ca4
commit 89ea236b02
  1. 2
      run_project_tests.py

@ -555,7 +555,7 @@ if __name__ == '__main__':
print('\nTotal passed tests:', passing_tests) print('\nTotal passed tests:', passing_tests)
print('Total failed tests:', failing_tests) print('Total failed tests:', failing_tests)
print('Total skipped tests:', skipped_tests) print('Total skipped tests:', skipped_tests)
if failing_tests > 0 and ('TRAVIS' in os.environ or 'APPVEYOR' in os.environ): if failing_tests > 0:
print('\nMesonlogs of failing tests\n') print('\nMesonlogs of failing tests\n')
for l in failing_logs: for l in failing_logs:
print(l, '\n') print(l, '\n')

Loading…
Cancel
Save