未验证 提交 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 @@
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 @@
<PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkMinimum)</TargetFrameworks>
<EnableDefaultItems>true</EnableDefaultItems>
<!-- ActiveIssue in AssemblyInfo.cs for Mono -->
<IgnoreForCI Condition="'$(RuntimeFlavor)' == 'Mono'">true</IgnoreForCI>
</PropertyGroup>
<ItemGroup>
......
......@@ -3,6 +3,8 @@
<PropertyGroup>
<TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkMinimum)</TargetFrameworks>
<EnableDefaultItems>true</EnableDefaultItems>
<!-- ActiveIssue in AssemblyInfo.cs -->
<IgnoreForCI>true</IgnoreForCI>
</PropertyGroup>
<ItemGroup>
......
......@@ -4,3 +4,4 @@
using Xunit;
[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)
}
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34090")]
[PlatformSpecific(TestPlatforms.Linux)]
public async Task ShutdownTestRun()
{
......@@ -37,7 +36,6 @@ public async Task ShutdownTestRun()
}
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/34090")]
[PlatformSpecific(TestPlatforms.Linux)]
public async Task ShutdownTestWaitForShutdown()
{
......
......@@ -3,4 +3,4 @@
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 @@
<PropertyGroup>
<IncludeRemoteExecutor>true</IncludeRemoteExecutor>
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
<!-- ActiveIssue in AssemblyInfo.cs for Mono -->
<IgnoreForCI Condition="'$(RuntimeFlavor)' == 'Mono'">true</IgnoreForCI>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(CommonTestPath)System\IO\TempDirectory.cs"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册