Skip to content

Commit

Permalink
Fix rerunning crossgen2 tests (#77903)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch committed Nov 5, 2022
1 parent ec26662 commit d3ab95d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/Common/CLRTest.CrossGen.targets
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ if [ ! -z ${RunCrossGen2+x} ]%3B then
fi
__cg2ExitCode=0
__r2rDumpExitCode=0
OneFileCrossgen2() {
date +%H:%M:%S
Expand Down Expand Up @@ -184,6 +185,7 @@ if defined RunCrossGen2 (
if defined LargeVersionBubble ( set ExtraCrossGen2Args=!ExtraCrossGen2Args! --inputbubble)
set CrossGen2Status=0
set R2RDumpStatus=0
set compilationDoneFlagFile=!ScriptPath!IL-CG2\done
if exist "IL-CG2" (
REM We may have come in the middle of a concurrent CG2 compilation, wait for it to finish
Expand Down Expand Up @@ -281,7 +283,6 @@ if defined RunCrossGen2 (
set CrossGen2Status=!ERRORLEVEL!
set R2RDumpStatus=0
IF NOT !CrossGen2Status!==0 goto :DoneR2RDumpOperations
echo "!__R2RDumpCommand!"
Expand Down

0 comments on commit d3ab95d

Please sign in to comment.