mirror of
https://gitlab.com/qemu-project/meson.git
synced 2025-11-08 21:18:48 +08:00
Use 'CI' environment variable to detect CI environment
Use the 'CI' environment variable to detect CI environment, rather than a collection of CI-specific ones.
This commit is contained in:
@ -38,7 +38,7 @@ def runtests(cross_file):
|
||||
print('\nTotal passed cross tests:', passing_tests)
|
||||
print('Total failed cross tests:', failing_tests)
|
||||
print('Total skipped cross tests:', skipped_tests)
|
||||
if failing_tests > 0 and ('TRAVIS' in os.environ or 'APPVEYOR' in os.environ):
|
||||
if failing_tests > 0 and ('CI' in os.environ):
|
||||
print('\nMesonlogs of failing tests\n')
|
||||
for l in failing_logs:
|
||||
print(l, '\n')
|
||||
|
||||
Reference in New Issue
Block a user