Skip to content

Commit

Permalink
Fix CrossGen2SynthesizePgo on Windows (#107362)
Browse files Browse the repository at this point in the history
Due to an apparent typo, The CrossGen2SynthesizePgo test flag simply always skipped tests on Windows, instead of just skipping tests when synthesize pgo testing was enabled.
  • Loading branch information
davidwrighton committed Sep 4, 2024
1 parent 97f92a3 commit eec40f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/Common/CLRTest.Execute.Batch.targets
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ IF NOT "%RunningIlasmRoundTrip%"=="" (

<BatchCLRTestEnvironmentCompatibilityCheck Condition="'$(SynthesizedPgoIncompatible)' == 'true'"><![CDATA[
$(BatchCLRTestEnvironmentCompatibilityCheck)
IF NOT "%CrossGen2SynthesizePgo"=="" (
IF NOT "%CrossGen2SynthesizePgo%"=="" (
ECHO SKIPPING EXECUTION BECAUSE CrossGen2SynthesizePgo IS SET
popd
Exit /b 0
Expand Down

0 comments on commit eec40f1

Please sign in to comment.