summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/runtest.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtest.cmd b/tests/runtest.cmd
index e54349c37f..9d54289912 100644
--- a/tests/runtest.cmd
+++ b/tests/runtest.cmd
@@ -120,7 +120,7 @@ if /i "%__VSVersion%" == "vs2017" (
set "__VCToolsRoot=%VS140COMNTOOLS%\..\..\VC"
set _msbuildexe="%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe"
- if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles%\MSBuild\14.0\Bin\MSBuild.exe"
+ if not exist !_msbuildexe! set _msbuildexe="%ProgramFiles%\MSBuild\14.0\Bin\MSBuild.exe"
)
:: Does VS really exist?