summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorYi Zhang (CLR) <yizhang82@users.noreply.github.com>2017-07-05 23:15:57 -0700
committerGitHub <noreply@github.com>2017-07-05 23:15:57 -0700
commit79ce844d7a68a62ad0a49a5db202dabf343ecad7 (patch)
tree92034dff79ae9ace58cf761e84cfc0bbc2e8be8a /build.cmd
parente5557aea38564be9c2e1630ae7b075c3b76837b3 (diff)
downloadcoreclr-79ce844d7a68a62ad0a49a5db202dabf343ecad7.tar.gz
coreclr-79ce844d7a68a62ad0a49a5db202dabf343ecad7.tar.bz2
coreclr-79ce844d7a68a62ad0a49a5db202dabf343ecad7.zip
Automatic build runtime layout when skipping tests (#12587)
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd12
1 files changed, 11 insertions, 1 deletions
diff --git a/build.cmd b/build.cmd
index 11b9181699..f9beedd37e 100644
--- a/build.cmd
+++ b/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 ===