diff options
author | Yi Zhang (CLR) <yizhang82@users.noreply.github.com> | 2017-07-05 23:15:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-05 23:15:57 -0700 |
commit | 79ce844d7a68a62ad0a49a5db202dabf343ecad7 (patch) | |
tree | 92034dff79ae9ace58cf761e84cfc0bbc2e8be8a | |
parent | e5557aea38564be9c2e1630ae7b075c3b76837b3 (diff) | |
download | coreclr-79ce844d7a68a62ad0a49a5db202dabf343ecad7.tar.gz coreclr-79ce844d7a68a62ad0a49a5db202dabf343ecad7.tar.bz2 coreclr-79ce844d7a68a62ad0a49a5db202dabf343ecad7.zip |
Automatic build runtime layout when skipping tests (#12587)
-rw-r--r-- | build.cmd | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 === |