aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorNicolas Schneider <nioncode+git@gmail.com>2016-05-26 00:03:02 +0200
committerNicolas Schneider <nioncode+git@gmail.com>2016-05-30 21:49:35 +0200
commit3bedca025717aec3266450feb1d472d4169b68cd (patch)
treeef2adb76cdee027d7d00f0b645c427b8fe10b56a /run_tests.py
parent0b81f5b0ade5876844c9059645ff031146b3b052 (diff)
downloadmeson-3bedca025717aec3266450feb1d472d4169b68cd.zip
meson-3bedca025717aec3266450feb1d472d4169b68cd.tar.gz
meson-3bedca025717aec3266450feb1d472d4169b68cd.tar.bz2
add vs2015 backend
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 1317380..abff831 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -31,7 +31,7 @@ import time
import multiprocessing
import concurrent.futures as conc
-from mesonbuild.mesonmain import backendlist
+from mesonbuild.coredata import backendlist
class TestResult:
def __init__(self, msg, stdo, stde, conftime=0, buildtime=0, testtime=0):
@@ -100,6 +100,11 @@ def setup_commands(backend):
compile_commands = ['msbuild']
test_commands = ['msbuild', 'RUN_TESTS.vcxproj']
install_commands = []
+ elif backend == 'vs2015':
+ backend_flags = ['--backend=vs2015']
+ compile_commands = ['msbuild']
+ test_commands = ['msbuild', 'RUN_TESTS.vcxproj']
+ install_commands = []
elif backend == 'xcode' or (backend is None and mesonlib.is_osx()):
backend_flags = ['--backend=xcode']
compile_commands = ['xcodebuild']