Remove the ignore from `CustomStepCanResolveTypesAfterSweep` (#89016)
authorMike Voorhees <mrvoorhe@users.noreply.github.com>
Mon, 17 Jul 2023 19:39:53 +0000 (15:39 -0400)
committerGitHub <noreply@github.com>
Mon, 17 Jul 2023 19:39:53 +0000 (12:39 -0700)
This ignore is pointless. `#if` cannot be used to ignore a test. Tests are collected from whatever version of `Mono.Linker.Tests.Cases` is handy.  It could be a net7 build.  It could be net471.

src/tools/illink/test/Mono.Linker.Tests.Cases/Extensibility/CustomStepCanResolveTypesAfterSweep.cs

index 5078037..0437667 100644 (file)
@@ -4,9 +4,6 @@ using Mono.Linker.Tests.Cases.Expectations.Metadata;
 namespace Mono.Linker.Tests.Cases.Extensibility
 {
        // Repro for https://github.com/dotnet/linker/issues/2267.
-#if !NETCOREAPP
-       [IgnoreTestCase ("Specific to the illink build")]
-#endif
        [SetupCompileBefore ("ResolveTypesSubStep.dll", new[] { "Dependencies/ResolveTypesSubStep.cs" }, new[] { "illink.dll", "Mono.Cecil.dll", "netstandard.dll" })]
        [SetupLinkerArgument ("--custom-step", "+OutputStep:ResolveTypesSubStep,ResolveTypesSubStep.dll")]
        [SetupLinkerAction ("copy", "test")]