Skip to content

Commit

Permalink
Added DEBUG switches for roundtrip ILASM
Browse files Browse the repository at this point in the history
  • Loading branch information
TIHan committed Jul 13, 2022
1 parent 7c51a61 commit 564dbfd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/Common/CLRTest.Jit.targets
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ WARNING: When setting properties based on their current state (for example:
<DisassemblyName>$(AssemblyName).dasm.il</DisassemblyName>
<TargetAssemblyName>$(AssemblyName).asm.dll</TargetAssemblyName>

<_IlasmSwitches Condition="'$(DebugType)' == 'Full'">$(_IlasmSwitches) -DEBUG</_IlasmSwitches>
<_IlasmSwitches Condition="'$(DebugType)' == 'Impl'">$(_IlasmSwitches) -DEBUG=IMPL</_IlasmSwitches>
<_IlasmSwitches Condition="'$(DebugType)' == 'PdbOnly'">$(_IlasmSwitches) -DEBUG=OPT</_IlasmSwitches>

<IlasmRoundTripBashScript Condition="'$(CLRTestKind)' == 'RunOnly'"><![CDATA[
# IlasmRoundTrip Script
# For CLRTestKind==RunOnly, we don't do any ilasm round-trip testing. We also need to disable
Expand Down

0 comments on commit 564dbfd

Please sign in to comment.