aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-10-01 13:23:16 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2017-10-01 15:38:34 +0300
commit7c4f0f97d373045937f1e208a0395feb6dff2bbb (patch)
tree9c7b6f489b7b99392f1c88266bccb8491e278b64
parent1b442d11b416b736323d2e5c79d1fca897eaba6f (diff)
downloadmeson-7c4f0f97d373045937f1e208a0395feb6dff2bbb.zip
meson-7c4f0f97d373045937f1e208a0395feb6dff2bbb.tar.gz
meson-7c4f0f97d373045937f1e208a0395feb6dff2bbb.tar.bz2
tests: Always run ninja with -d explain
Will help us figure out the occasional ninja loops we see in our CI: https://github.com/mesonbuild/meson/pull/2394#issuecomment-333340112 https://travis-ci.org/mesonbuild/meson/jobs/281637736
-rwxr-xr-xrun_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index f74ff13..00c97ca 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -90,7 +90,7 @@ def get_backend_commands(backend, debug=False):
test_cmd = cmd + ['-target', 'RUN_TESTS']
elif backend is Backend.ninja:
# We need at least 1.6 because of -w dupbuild=err
- cmd = [detect_ninja('1.6'), '-w', 'dupbuild=err']
+ cmd = [detect_ninja('1.6'), '-w', 'dupbuild=err', '-d', 'explain']
if cmd[0] is None:
raise RuntimeError('Could not find Ninja v1.6 or newer')
if debug: