aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py
index 1cd5413..8e8e69e 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -32,6 +32,11 @@ if msbuild_exe is not None:
compile_commands = ['msbuild']
test_commands = ['msbuild', 'RUN_TESTS.vcxproj']
install_commands = []
+elif environment.is_osx():
+ backend_flags = ['--backend=xcode']
+ compile_commands = ['xcodebuild']
+ test_commands = ['xcodebuild', '-target', 'RUN_TESTS']
+ install_commands = []
else:
backend_flags = []
ninja_command = environment.detect_ninja()