未验证 提交 645397c9 编写于 作者: A Alexander Köplinger 提交者: GitHub

Add IgnoreForCI property to certain no-op test suites (#90238)

A couple projects have all tests disabled, it makes no sense to send them to Helix to run 0 tests.
上级 943af3a6
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
using Xunit; using Xunit;
[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/35970", TestRuntimes.Mono)] [assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/35970", TestRuntimes.Mono)] // Note: remove IgnoreForCI from .csproj when reenabling
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkMinimum)</TargetFrameworks> <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkMinimum)</TargetFrameworks>
<EnableDefaultItems>true</EnableDefaultItems> <EnableDefaultItems>true</EnableDefaultItems>
<!-- ActiveIssue in AssemblyInfo.cs for Mono -->
<IgnoreForCI Condition="'$(RuntimeFlavor)' == 'Mono'">true</IgnoreForCI>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkMinimum)</TargetFrameworks> <TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkMinimum)</TargetFrameworks>
<EnableDefaultItems>true</EnableDefaultItems> <EnableDefaultItems>true</EnableDefaultItems>
<!-- ActiveIssue in AssemblyInfo.cs -->
<IgnoreForCI>true</IgnoreForCI>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
......
...@@ -4,3 +4,4 @@ ...@@ -4,3 +4,4 @@
using Xunit; using Xunit;
[assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly)] [assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly)]
[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34090")] // Note: remove IgnoreForCI from .csproj when reenabling
...@@ -29,7 +29,6 @@ public ShutdownTests(ITestOutputHelper output) ...@@ -29,7 +29,6 @@ public ShutdownTests(ITestOutputHelper output)
} }
[Fact] [Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34090")]
[PlatformSpecific(TestPlatforms.Linux)] [PlatformSpecific(TestPlatforms.Linux)]
public async Task ShutdownTestRun() public async Task ShutdownTestRun()
{ {
...@@ -37,7 +36,6 @@ public async Task ShutdownTestRun() ...@@ -37,7 +36,6 @@ public async Task ShutdownTestRun()
} }
[Fact] [Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34090")]
[PlatformSpecific(TestPlatforms.Linux)] [PlatformSpecific(TestPlatforms.Linux)]
public async Task ShutdownTestWaitForShutdown() public async Task ShutdownTestWaitForShutdown()
{ {
......
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
using Xunit; using Xunit;
[assembly: ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] // flaky tests [assembly: ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] // flaky tests. Note: remove IgnoreForCI from .csproj when reenabling
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
<PropertyGroup> <PropertyGroup>
<IncludeRemoteExecutor>true</IncludeRemoteExecutor> <IncludeRemoteExecutor>true</IncludeRemoteExecutor>
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework> <TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
<!-- ActiveIssue in AssemblyInfo.cs for Mono -->
<IgnoreForCI Condition="'$(RuntimeFlavor)' == 'Mono'">true</IgnoreForCI>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="$(CommonTestPath)System\IO\TempDirectory.cs" <Compile Include="$(CommonTestPath)System\IO\TempDirectory.cs"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册