aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 4062613..96dbbf2 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -46,7 +46,10 @@ else:
ninja_command = environment.detect_ninja()
if ninja_command is None:
raise RuntimeError('Could not find Ninja executable.')
- compile_commands = [ninja_command]
+ if print_debug:
+ compile_commands = [ninja_command, '-v']
+ else:
+ compile_commands = [ninja_command]
test_commands = [ninja_command, 'test']
install_commands = [ninja_command, 'install']