aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-03-31 02:17:57 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-03-31 02:17:57 +0300
commit6b56bfd10e36471f2e82499a14237b1ec244d45a (patch)
tree1aa1c1b51fe3754558e74577bcf3bf27ee517e31 /run_tests.py
parent72455e555fc9ed4864f8bf6e0686e7323715c08c (diff)
downloadmeson-6b56bfd10e36471f2e82499a14237b1ec244d45a.zip
meson-6b56bfd10e36471f2e82499a14237b1ec244d45a.tar.gz
meson-6b56bfd10e36471f2e82499a14237b1ec244d45a.tar.bz2
Run test suite with xcodebuild on OSX.
Diffstat (limited to 'run_tests.py')
-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()