Skip to content

Commit d347727

Browse files
JamesNKmitchdenny
authored andcommitted
Enable AOT template tests
1 parent 1383883 commit d347727

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ProjectTemplates/test/Templates.Tests/ApiTemplateTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public async Task ApiTemplateCSharp()
3535
await ApiTemplateCore(languageOverride: null);
3636
}
3737

38-
[ConditionalFact(Skip = "Unskip when there are no more build or publish warnings for native AOT.")]
38+
[ConditionalFact]
3939
public async Task ApiTemplateNativeAotCSharp()
4040
{
4141
await ApiTemplateCore(languageOverride: null, args: new[] { ArgConstants.PublishNativeAot });
@@ -47,7 +47,7 @@ public async Task ApiTemplateProgramMainCSharp()
4747
await ApiTemplateCore(languageOverride: null, args: new[] { ArgConstants.UseProgramMain });
4848
}
4949

50-
[ConditionalFact(Skip = "Unskip when there are no more build or publish warnings for native AOT.")]
50+
[ConditionalFact]
5151
public async Task ApiTemplateProgramMainNativeAotCSharp()
5252
{
5353
await ApiTemplateCore(languageOverride: null, args: new[] { ArgConstants.UseProgramMain, ArgConstants.PublishNativeAot });

src/ProjectTemplates/test/Templates.Tests/GrpcTemplateTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public async Task GrpcTemplate()
4444
}
4545

4646
// TODO (https://github.com/dotnet/aspnetcore/issues/47336): Don't skip on macos 11
47-
[ConditionalFact(Skip = "Unskip when there are no more build or publish warnings for native AOT.")]
47+
[ConditionalFact]
4848
[SkipOnHelix("Not supported queues", Queues = "OSX.1100.Amd64.Open;windows.11.arm64.open;" + HelixConstants.Windows10Arm64 + HelixConstants.DebianArm64)]
4949
[SkipOnAlpine("https://github.com/grpc/grpc/issues/18338")] // protoc doesn't support Alpine. Note that the issue was closed with a workaround which isn't applied to our OS image.
5050
public async Task GrpcTemplateNativeAot()
@@ -62,7 +62,7 @@ public async Task GrpcTemplateProgramMain()
6262
}
6363

6464
// TODO (https://github.com/dotnet/aspnetcore/issues/47336): Don't skip on macos 11
65-
[ConditionalFact(Skip = "Unskip when there are no more build or publish warnings for native AOT.")]
65+
[ConditionalFact]
6666
[SkipOnHelix("Not supported queues", Queues = "OSX.1100.Amd64.Open;windows.11.arm64.open;" + HelixConstants.Windows10Arm64 + HelixConstants.DebianArm64)]
6767
[SkipOnAlpine("https://github.com/grpc/grpc/issues/18338")] // protoc doesn't support Alpine. Note that the issue was closed with a workaround which isn't applied to our OS image.
6868
public async Task GrpcTemplateProgramMainNativeAot()

0 commit comments

Comments
 (0)