aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2016-07-19 22:40:57 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2016-07-19 20:10:57 +0300
commit88aafd363e3b63184b42d66b9307ec701670b529 (patch)
tree0ce768f1b7a5f7c7c21874edfeb4944f3bfa65e6 /run_tests.py
parent69d9c2228d718a627fdb3f8504cbc4cdff0b1f4c (diff)
downloadmeson-88aafd363e3b63184b42d66b9307ec701670b529.zip
meson-88aafd363e3b63184b42d66b9307ec701670b529.tar.gz
meson-88aafd363e3b63184b42d66b9307ec701670b529.tar.bz2
Normalize the path of a configured file to avoid dupes (#640)
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 0919d84..b0d666f 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -116,11 +116,12 @@ def setup_commands(backend):
backend_flags = []
ninja_command = environment.detect_ninja()
if ninja_command is None:
- raise RuntimeError('Could not find Ninja executable.')
+ raise RuntimeError('Could not find Ninja v1.6 or newer')
if print_debug:
compile_commands = [ninja_command, '-v']
else:
compile_commands = [ninja_command]
+ compile_commands += ['-w', 'dupbuild=err']
test_commands = [ninja_command, 'test', 'benchmark']
install_commands = [ninja_command, 'install']