Skip to content

Commit b4765bd

Browse files
Mark managed/Compilation test as NativeAotIncompatible (#100625)
The issues.targets exclusion doesn't seem to kick in with the merged wrapper, but whatever: this test compiles into a 100 MB executable because it includes a fully rooted Roslyn, and doesn't work anyway. Stop building it.
1 parent e4d9e41 commit b4765bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/tests/issues.targets

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,9 +1084,6 @@
10841084
<ExcludeList Include="$(XunitTestBinBase)/JIT/Stress/ABI/tailcalls_do/**">
10851085
<Issue>https://github.com/dotnet/runtimelab/issues/155: Reflection.Emit</Issue>
10861086
</ExcludeList>
1087-
<ExcludeList Include="$(XunitTestBinBase)/managed/Compilation/Compilation/**">
1088-
<Issue>expects to see System.Private.CoreLib in CORE_ROOT</Issue>
1089-
</ExcludeList>
10901087

10911088
<!-- Complex constrained calls -->
10921089
<!-- https://github.com/dotnet/runtimelab/issues/1431 -->

src/tests/managed/Compilation/Compilation.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<GCStressIncompatible>true</GCStressIncompatible>
55
<!-- Test unsupported outside of windows -->
66
<CLRTestTargetUnsupported Condition="'$(TargetsWindows)' != 'true'">true</CLRTestTargetUnsupported>
7+
8+
<!-- Expects to find a corelib it can compile against -->
9+
<NativeAotIncompatible>true</NativeAotIncompatible>
710
</PropertyGroup>
811
<ItemGroup>
912
<Compile Include="$(MSBuildProjectName).cs" />

0 commit comments

Comments
 (0)