diff options
author | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2019-03-04 16:42:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-04 16:42:40 -0800 |
commit | a217ea2902e26182e7f8f3f66afce1fffa1fc175 (patch) | |
tree | 533da3b4c3e56a46f484270b69a321c69b728191 /build.cmd | |
parent | 0b6aa70f357bba763fe270b512a30feae5571c48 (diff) | |
download | coreclr-a217ea2902e26182e7f8f3f66afce1fffa1fc175.tar.gz coreclr-a217ea2902e26182e7f8f3f66afce1fffa1fc175.tar.bz2 coreclr-a217ea2902e26182e7f8f3f66afce1fffa1fc175.zip |
Pass -priority= argument directly to build-test.cmd (#23007)
Diffstat (limited to 'build.cmd')
-rw-r--r-- | build.cmd | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -240,7 +240,6 @@ if defined __Priority ( ) else ( set __PassThroughArgs=-priority=%__Priority% ) - set __UnprocessedBuildArgs=!__UnprocessedBuildArgs! /p:CLRTestPriorityToBuild=%__Priority% ) if defined __BuildAll goto BuildAll @@ -877,7 +876,11 @@ REM ============================================================================ if %__BuildTests% EQU 1 ( echo %__MsgPrefix%Commencing build of tests for %__BuildOS%.%__BuildArch%.%__BuildType% - set NEXTCMD=call %__ProjectDir%\build-test.cmd %__BuildArch% %__BuildType% %__UnprocessedBuildArgs% + set __PriorityArg= + if defined __Priority ( + set __PriorityArg=-priority=%__Priority% + ) + set NEXTCMD=call %__ProjectDir%\build-test.cmd %__BuildArch% %__BuildType% !__PriorityArg! %__UnprocessedBuildArgs% echo %__MsgPrefix%!NEXTCMD! !NEXTCMD! |