diff --git a/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/CheckArchitectureTests.cs b/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/CheckArchitectureTests.cs index d97aaeb1d83fd8..4fa46f5bed27aa 100644 --- a/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/CheckArchitectureTests.cs +++ b/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/CheckArchitectureTests.cs @@ -32,6 +32,10 @@ public void VerifyArchitecture() Assert.Equal(IntPtr.Size == 4 ? Architecture.Arm : Architecture.Arm64, processArch); break; + case Architecture.Wasm: + Assert.Equal(Architecture.Wasm, processArch); + break; + default: Assert.False(true, "Unexpected Architecture."); break; diff --git a/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/DescriptionNameTests.cs b/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/DescriptionNameTests.cs index ff2f61740618fc..7d0d5c4317e5e0 100644 --- a/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/DescriptionNameTests.cs +++ b/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/DescriptionNameTests.cs @@ -12,6 +12,7 @@ namespace System.Runtime.InteropServices.RuntimeInformationTests public class DescriptionNameTests { [Fact] + [PlatformSpecific(~TestPlatforms.Browser)] // throws PNSE when binariesLocation is not an empty string. public void DumpRuntimeInformationToConsole() { // Not really a test, but useful to dump a variety of information to the test log to help diff --git a/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/RuntimeIdentifierTests.cs b/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/RuntimeIdentifierTests.cs index d25b747b15fb8b..6747714a6279cd 100644 --- a/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/RuntimeIdentifierTests.cs +++ b/src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/RuntimeIdentifierTests.cs @@ -11,6 +11,7 @@ namespace System.Runtime.InteropServices.RuntimeInformationTests public class RuntimeIdentifierTests { [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/39074", TestPlatforms.Browser)] public void VerifyOSRid() { Assert.NotNull(RuntimeInformation.RuntimeIdentifier); diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index 66b98cebc38808..bff0e200a083b0 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -79,7 +79,6 @@ -