diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2018-08-07 14:58:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-07 14:58:12 -0700 |
commit | 01908e9fe3b5a3c51935e1f6622ef4bf10b805c3 (patch) | |
tree | d2dba60b101eeedaea2f9417dcbf90da99422708 /build-test.cmd | |
parent | 525b5e1f990a37c16f4db797e6a5e20419f4059a (diff) | |
download | coreclr-01908e9fe3b5a3c51935e1f6622ef4bf10b805c3.tar.gz coreclr-01908e9fe3b5a3c51935e1f6622ef4bf10b805c3.tar.bz2 coreclr-01908e9fe3b5a3c51935e1f6622ef4bf10b805c3.zip |
Add basic check that the correct number of tests is built (#19290)
Fixes #19286
Diffstat (limited to 'build-test.cmd')
-rw-r--r-- | build-test.cmd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build-test.cmd b/build-test.cmd index 9df2033da5..242c39e70d 100644 --- a/build-test.cmd +++ b/build-test.cmd @@ -335,6 +335,15 @@ for /l %%G in (1, 1, %__BuildLoopCount%) do ( set __AppendToLog=true ) +REM Check that we've built about as many tests as we expect. This is primarily intended to prevent accidental changes that cause us to build +REM drastically fewer Pri-1 tests than expected. +echo %__MsgPrefix%Check the managed tests build +call %__DotnetHost% msbuild %__ProjectDir%\tests\runtest.proj /t:CheckTestBuild /p:CLRTestPriorityToBuild=%__Priority% %__msbuildArgs% %__unprocessedBuildArgs% +if errorlevel 1 ( + echo %__MsgPrefix%Error: build failed. + exit /b 1 +) + :SkipManagedBuild REM ========================================================================================= |