mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
[iOS][libraries] Skip failing iOS tests with ActiveIssues and proj level skips (#51491)
In effort to assess the state of the iOS library tests, a number of tests will be skipped Test suites that crash, hang, or have a significant number of failures (mostly 20+ failing unique test methods) are skipped on at the `tests.proj` level. Otherwise, `[ActiveIssue]` attributes have been attached to either the individual test methods that fail or the entire class if the whole test class fails. Any pre-existing `ActiveIssue` attribute associated with iOS had been reassessed to either remain or be closed. A few test suites have been skipped because they fail with some form of `PlatformNotSupportedException`. `[SkipOnPlatform]` attributes are attached to the failing test methods. All of the Issues can be tracked at https://github.com/dotnet/runtime/projects/48#column-9236436 The ActiveIssues and `tests.proj` exclusions have been tested on https://github.com/dotnet/runtime/pull/49917 as well. ----------- This PR makes the following changes in the following files: `src/libraries/System.IO.Ports/tests/System.IO.Ports.Tests.csproj` - Removed `$(NetCoreAppCurrent)-iOS` from target frameworks as it is stated to currently only supported on Windows. `src/libraries/tests.proj` - Update the test suites that need to be skipped at the project level, reducing the number and categorizing as a skip due to PNSE, a skip due to numerous failures, and a skip due to the suite crashing. The remaining files changed are either: `[ActiveIssue("<issue-url>", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]` `[SkipOnPlatform(TestPlatforms.iOS | TestPlatforms.tvOS, "Not supported on iOS or tvOS.")]` Co-authored-by: Mitchell Hwang <[email protected]> Co-authored-by: Tammy Qiu <[email protected]>
This commit is contained in:
120 files changed
+395
-150
No files matched your search
@@ -43,6 +43,7 @@ namespace System.IO.Tests
|
||||
[InlineData(1)]
|
||||
[InlineData(2)]
|
||||
[InlineData(3)]
|
||||
[ActiveIssue("https://github.com/dotnet/runtime/issues/51393", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
|
||||
public void Directory_Move_Multiple_From_Watched_To_Unwatched(int filesCount)
|
||||
{
|
||||
DirectoryMove_Multiple_FromWatchedToUnwatched(filesCount, skipOldEvents: false);
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace System.IO.Tests
|
||||
[InlineData(1)]
|
||||
[InlineData(2)]
|
||||
[InlineData(3)]
|
||||
[ActiveIssue("https://github.com/dotnet/runtime/issues/51393", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)]
|
||||
public void File_Move_Multiple_From_Watched_To_Unwatched(int filesCount)
|
||||
{
|
||||
FileMove_Multiple_FromWatchedToUnwatched(filesCount, skipOldEvents: false);
|
||||
|
||||
Reference in new issue
Block a user