aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildsteps')
-rw-r--r--tools/buildsteps/windows/win32/run-tests.bat7
-rw-r--r--tools/buildsteps/windows/x64/run-tests.bat7
2 files changed, 12 insertions, 2 deletions
diff --git a/tools/buildsteps/windows/win32/run-tests.bat b/tools/buildsteps/windows/win32/run-tests.bat
index 4d811fd200..1c07563f15 100644
--- a/tools/buildsteps/windows/win32/run-tests.bat
+++ b/tools/buildsteps/windows/win32/run-tests.bat
@@ -1,7 +1,12 @@
@ECHO OFF
PUSHD %~dp0\..
-
+CALL vswhere.bat x86
+IF ERRORLEVEL 1 (
+ ECHO ERROR! run-tests.bat: Something went wrong when calling vswhere.bat
+ POPD
+ EXIT /B 1
+)
SET TARGET_PLATFORM=x86
CALL run-tests.bat
diff --git a/tools/buildsteps/windows/x64/run-tests.bat b/tools/buildsteps/windows/x64/run-tests.bat
index 0c099b5268..a21ea896ff 100644
--- a/tools/buildsteps/windows/x64/run-tests.bat
+++ b/tools/buildsteps/windows/x64/run-tests.bat
@@ -1,7 +1,12 @@
@ECHO OFF
PUSHD %~dp0\..
-
+CALL vswhere.bat x64
+IF ERRORLEVEL 1 (
+ ECHO ERROR! run-tests.bat: Something went wrong when calling vswhere.bat
+ POPD
+ EXIT /B 1
+)
SET TARGET_PLATFORM=x64
CALL run-tests.bat