Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Pass -priority= argument directly to build-test.cmd (#23007)
Browse files Browse the repository at this point in the history
  • Loading branch information
echesakov authored Mar 5, 2019
1 parent 0b6aa70 commit a217ea2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ if defined __Priority (
) else (
set __PassThroughArgs=-priority=%__Priority%
)
set __UnprocessedBuildArgs=!__UnprocessedBuildArgs! /p:CLRTestPriorityToBuild=%__Priority%
)

if defined __BuildAll goto BuildAll
Expand Down Expand Up @@ -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!

Expand Down

0 comments on commit a217ea2

Please sign in to comment.