aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index cf8221c..b17e0cb 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -105,7 +105,10 @@ def get_backend_commands(backend, debug=False):
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:
+ # 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