mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-23 03:39:35 -10:00
Add PlatformID.AnyUnix
There are ~110 tests that have been disabled with an ActiveIssue for PlatformID.Linux | PlatformID.OSX. To simplify this and to avoid lots of additional churn when additional Unix-based platforms are added, I've added PlatformID.AnyUnix = Linux | OSX, and replaced all usage of Linux | OSX with just AnyUnix. When new platforms are added, we can simply add to the enum, expand the meaning of AnyUnix, and most tests meant to be disabled for Unix will automatically be disabled. Commit migrated from https://github.com/dotnet/corefx/commit/c96932da11940e0bae05de8e364eac90a6e1786b
This commit is contained in:
1 parent
e71e500b9b
commit
964b3dea7d
38 files changed
+112
-111
No files matched your search
@@ -69,7 +69,7 @@ public class EncodingTest
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[ActiveIssue(846, PlatformID.Linux | PlatformID.OSX)]
|
||||
[ActiveIssue(846, PlatformID.AnyUnix)]
|
||||
public static void TestDefaultCodePage()
|
||||
{
|
||||
|
||||
@@ -100,7 +100,7 @@ public class EncodingTest
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[ActiveIssue(846, PlatformID.Linux | PlatformID.OSX)]
|
||||
[ActiveIssue(846, PlatformID.AnyUnix)]
|
||||
public static void TestSpecificCodepageEncodings()
|
||||
{
|
||||
EnsureInitialization();
|
||||
|
||||
Reference in new issue
Block a user