Skip to content

Commit b10f5c9

Browse files
authored
Disable ilasm tests for nativeaot test runs (#107432)
1 parent 7331fb0 commit b10f5c9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/tests/ilasm/ilasm_tests.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<DisableProjectBuild Condition="'$(TargetsMobile)' == 'true'">true</DisableProjectBuild>
66
<!-- Mono doesn't provide ilasm or ildasm in their Core_Root layout. -->
77
<DisableProjectBuild Condition="'$(RuntimeFlavor)' == 'mono'">true</DisableProjectBuild>
8+
<!-- NativeAOT tests don't provide ilasm or ildasm in their Core_Root layout. -->
9+
<NativeAotIncompatible>true</NativeAotIncompatible>
810
</PropertyGroup>
911
<ItemGroup>
1012
<Compile Include="PortablePdb\IlasmPortablePdbTester.cs" />

src/tests/issues.targets

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -731,9 +731,6 @@
731731
<ExcludeList Include="$(XunitTestBinBase)/GC/API/WeakReference/Finalize2/*">
732732
<Issue>Expectations about finalization order</Issue>
733733
</ExcludeList>
734-
<ExcludeList Include="$(XunitTestBinBase)/ilasm/*">
735-
<Issue>Specific to CoreCLR</Issue>
736-
</ExcludeList>
737734
<ExcludeList Include="$(XunitTestBinBase)/Interop/ArrayMarshalling/SafeArray/SafeArrayTest/*">
738735
<Issue>https://github.com/dotnet/runtimelab/issues/155: SAFEARRAY</Issue>
739736
</ExcludeList>

0 commit comments

Comments
 (0)