From: Yi Zhang (CLR) Date: Thu, 6 Jul 2017 06:15:57 +0000 (-0700) Subject: Automatic build runtime layout when skipping tests (dotnet/coreclr#12587) X-Git-Tag: submit/tizen/20210909.063632~11030^2~6925^2~265 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=561471a4786cfcb4cfcdcb535e51982348c7bd42;p=platform%2Fupstream%2Fdotnet%2Fruntime.git build runtime layout when skipping tests (dotnet/coreclr#12587) Commit migrated from https://github.com/dotnet/coreclr/commit/79ce844d7a68a62ad0a49a5db202dabf343ecad7 --- diff --git a/src/coreclr/build.cmd b/src/coreclr/build.cmd index 11b9181..f9beedd 100644 --- a/src/coreclr/build.cmd +++ b/src/coreclr/build.cmd @@ -506,7 +506,17 @@ if %__BuildTests% EQU 1 ( REM buildtest.cmd has already emitted an error message and mentioned the build log file to examine. exit /b 1 ) -) +) else ( + echo %__MsgPrefix%Skipping test build. Proceeding to building runtime layout for %__BuildOS%.%__BuildArch%.%__BuildType% + + echo "%__ProjectDir%\tests\runtest.cmd %__BuildArch% %__BuildType% %__UnprocessedBuildArgs% GenerateLayoutOnly" + @call %__ProjectDir%\tests\runtest.cmd %__BuildArch% %__BuildType% %__UnprocessedBuildArgs% GenerateLayoutOnly + + if not !errorlevel! == 0 ( + REM runtest.cmd has already emitted an error message and mentioned the build log file to examine. + exit /b 1 + ) +) REM ========================================================================================= REM ===