aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
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']