Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin Buckley <calvin@cmpct.info>2019-02-28 01:21:34 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2019-02-28 01:21:34 +0300
commita3be248d3fbc278398c1937788ebce2a7b0c211d (patch)
treefe7eb32763c6ac5da27f9848cf368b91680d4d7a /mcs/class/System
parenta3dd8b32463c57edf09c2acd7bdb19b4e0643e10 (diff)
[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
We can get the the OS name similar to the architecture from the value that is used by the runtime for DllMaps. Cached the values into static fields so we only need to do the runtime icall once. Added all the existing OS names recognized by DllMap to RuntimeInformation. This also allows us to mark some corlib/System tests that hang the runtime on AIX as non-working.
Diffstat (limited to 'mcs/class/System')
-rw-r--r--mcs/class/System/Test/System.Diagnostics/ProcessTest.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs b/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
index fd382999eb1..b1fc4962cb6 100644
--- a/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
+++ b/mcs/class/System/Test/System.Diagnostics/ProcessTest.cs
@@ -1035,6 +1035,12 @@ namespace MonoTests.System.Diagnostics
[NUnit.Framework.Category ("MobileNotWorking")]
public void StandardInputWrite ()
{
+ if (RuntimeInformation.IsOSPlatform(OSPlatform.Create("AIX")))
+ {
+ // This test is broken on AIX because the fork child seems to become comatose.
+ Assert.Ignore ("Skipping on AIX/i");
+ }
+
var psi = GetEchoCrossPlatformStartInfo ();
psi.RedirectStandardInput = true;
psi.RedirectStandardOutput = true;