aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-01-18 23:19:47 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-01-23 21:02:04 +0200
commit0a2daf84eb68526f0d689488230a8d63cf47836d (patch)
tree6ed79e14925883007aaa04459c49fc45c57d0ce7 /run_project_tests.py
parentfa0382f1f9d5677c1cbfb2dcec45c6d68702a261 (diff)
downloadmeson-0a2daf84eb68526f0d689488230a8d63cf47836d.zip
meson-0a2daf84eb68526f0d689488230a8d63cf47836d.tar.gz
meson-0a2daf84eb68526f0d689488230a8d63cf47836d.tar.bz2
No longer require a binary called python3 on Windows. The default name is "python".
Diffstat (limited to 'run_project_tests.py')
-rwxr-xr-xrun_project_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/run_project_tests.py b/run_project_tests.py
index 4715dbb..e04fed1 100755
--- a/run_project_tests.py
+++ b/run_project_tests.py
@@ -105,6 +105,8 @@ def setup_commands(backend):
global backend_flags, compile_commands, test_commands, install_commands, clean_commands
msbuild_exe = shutil.which('msbuild')
if (backend and backend.startswith('vs')) or (backend is None and msbuild_exe is not None):
+ if backend is None:
+ backend = 'vs2010'
backend_flags = ['--backend=' + backend]
compile_commands = ['msbuild']
test_commands = ['msbuild', 'RUN_TESTS.vcxproj']