summaryrefslogtreecommitdiff
path: root/run_cross_test.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-10-07 13:12:49 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2018-10-14 16:01:36 +0100
commit459b81de4644106fabd410870f577848bef99fe6 (patch)
tree9227651e8d39c92b9330a6493e938f0334de5eb3 /run_cross_test.py
parent7bdb39668bd2efd579d94e7d69a0b429e026499b (diff)
downloadmeson-459b81de4644106fabd410870f577848bef99fe6.tar.gz
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.
Diffstat (limited to 'run_cross_test.py')
-rwxr-xr-xrun_cross_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_cross_test.py b/run_cross_test.py
index 71914028f..2b640ec86 100755
--- a/run_cross_test.py
+++ b/run_cross_test.py
@@ -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')