aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-06-12 17:04:36 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-07-17 14:23:59 +0530
commit6582cd28c80fc3ef6ecd9476a4a23d21ca6a9f2b (patch)
tree8e1e0c5e39d32c28bf12dcfd631c74f5fcc948bb /run_tests.py
parentf77c3176ab5cb583fc32bfdebeb320481b7d3592 (diff)
downloadmeson-6582cd28c80fc3ef6ecd9476a4a23d21ca6a9f2b.zip
meson-6582cd28c80fc3ef6ecd9476a4a23d21ca6a9f2b.tar.gz
meson-6582cd28c80fc3ef6ecd9476a4a23d21ca6a9f2b.tar.bz2
CI: Use QuLogic's Ninja patches
This way we get some testing for the patches, and speed up our builds. My server is hosted on a UK Linode, so it should have good uptimes. However, we should likely move this into the Docker image at least for Linux, and perhaps put it in a CI cache for the rest.
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py
index 040f958..cf8221c 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -104,6 +104,9 @@ def get_backend_commands(backend, debug=False):
return cmd, clean_cmd, test_cmd, install_cmd, uninstall_cmd
def ensure_backend_detects_changes(backend):
+ # We're using a ninja with QuLogic's patch for sub-1s resolution timestamps
+ if 'MESON_FIXED_NINJA' in os.environ:
+ return
# This is needed to increase the difference between build.ninja's
# timestamp and the timestamp of whatever you changed due to a Ninja
# bug: https://github.com/ninja-build/ninja/issues/371