aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-07-17 16:48:37 +0200
committerGitHub <noreply@github.com>2017-07-17 16:48:37 +0200
commitaab7ada356e02033e4030143cf363d06d975283b (patch)
tree89cc10655d57affed97b0830d0cd7dc18c033191 /run_tests.py
parente1b24765afd9e7d2d8043a408d69c7ad814d3551 (diff)
parentbbebd09f8bdc0164166b147e95798e9c35e07fb0 (diff)
downloadmeson-aab7ada356e02033e4030143cf363d06d975283b.zip
meson-aab7ada356e02033e4030143cf363d06d975283b.tar.gz
meson-aab7ada356e02033e4030143cf363d06d975283b.tar.bz2
Merge pull request #1931 from centricular/use-patched-ninja
CI: Use QuLogic's Ninja patches
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py
index 040f958..b17e0cb 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -104,6 +104,12 @@ 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
+ # and not running on HFS+ which only stores dates in seconds:
+ # https://developer.apple.com/legacy/library/technotes/tn/tn1150.html#HFSPlusDates
+ # FIXME: Upgrade Travis image to Apple FS when that becomes available
+ if 'MESON_FIXED_NINJA' in os.environ and not mesonlib.is_osx():
+ 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