summaryrefslogtreecommitdiff
path: root/tests/runtest.cmd
diff options
context:
space:
mode:
authorJacek Blaszczynski <biosciencenow@outlook.com>2017-10-27 20:58:51 +0200
committerJacek Blaszczynski <biosciencenow@outlook.com>2017-10-27 20:58:51 +0200
commit2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc (patch)
tree5890ab0cb6f37f67600c6fde8f2716835416f93e /tests/runtest.cmd
parent6df222e00e1c959609e642634575b88b5feab88f (diff)
downloadcoreclr-2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc.tar.gz
coreclr-2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc.tar.bz2
coreclr-2ab0c55a62f6e63f0ec18a5978d333c9f04ef2dc.zip
Address code review feedback
Diffstat (limited to 'tests/runtest.cmd')
-rw-r--r--tests/runtest.cmd10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/runtest.cmd b/tests/runtest.cmd
index c5aadfea76..52a2e5e2fa 100644
--- a/tests/runtest.cmd
+++ b/tests/runtest.cmd
@@ -33,7 +33,7 @@ if defined VisualStudioVersion (
set _VSWHERE="%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
if exist %_VSWHERE% (
- for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -property installationPath`) do set _VSCOMNTOOLS=%%i\Common7\Tools
+ for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -prerelease -property installationPath`) do set _VSCOMNTOOLS=%%i\Common7\Tools
)
if not exist "%_VSCOMNTOOLS%" set _VSCOMNTOOLS=%VS140COMNTOOLS%
if not exist "%_VSCOMNTOOLS%" (
@@ -159,10 +159,6 @@ if not exist "%__VSToolsRoot%\VsDevCmd.bat" goto NoVS
:: Does MSBuild really exist?
if not exist %_msbuildexe% echo %__MsgPrefix%Error: Could not find MSBuild.exe. Please see https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/developer-guide.md for build instructions. && exit /b 1
-:: Set the environment for the build- VS cmd prompt
-:: echo %__MsgPrefix%Using environment: "%__VSToolsRoot%\VsDevCmd.bat"
-:: call "%__VSToolsRoot%\VsDevCmd.bat"
-
if not defined VSINSTALLDIR (
echo %__MsgPrefix%Error: runtest.cmd should be run from a Visual Studio Command Prompt. Please see https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/developer-guide.md for build instructions.
exit /b 1
@@ -331,7 +327,7 @@ if %__exitCode% neq 0 (
exit /b 0
)
-echo Successfully precompiled %2
+echo %__MsgPrefix%Successfully precompiled %2
exit /b 0
:jitdisasm
@@ -385,7 +381,7 @@ set __msbuildLogArgs=^
set __msbuildArgs=%* %__msbuildCommonArgs% %__msbuildLogArgs%
@REM The next line will overwrite the existing log file, if any.
-echo %_msbuildexe% %__msbuildArgs%
+echo %__MsgPrefix%%_msbuildexe% %__msbuildArgs%
echo Invoking: %_msbuildexe% %__msbuildArgs% > "%__BuildLog%"
%_msbuildexe% %__msbuildArgs%