From: Maxim Lipnin Date: Mon, 20 Jul 2020 19:11:37 +0000 (+0300) Subject: [wasm] Enable System.CodeDom.Tests test suite (#39626) X-Git-Tag: submit/tizen/20210909.063632~6537 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5b61d844b420c414b80e689723679f6010f2ab9;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [wasm] Enable System.CodeDom.Tests test suite (#39626) Part of https://github.com/dotnet/runtime/issues/38422. --- diff --git a/src/libraries/System.CodeDom/tests/System/CodeDom/Compiler/CompilerResultsTests.cs b/src/libraries/System.CodeDom/tests/System/CodeDom/Compiler/CompilerResultsTests.cs index a88143c..71158fa 100644 --- a/src/libraries/System.CodeDom/tests/System/CodeDom/Compiler/CompilerResultsTests.cs +++ b/src/libraries/System.CodeDom/tests/System/CodeDom/Compiler/CompilerResultsTests.cs @@ -31,7 +31,7 @@ namespace System.CodeDom.Compiler.Tests [Fact] public void CompiledAssembly_GetWithPathToAssemblySet_ReturnsExpectedAssembly() { - var results = new CompilerResults(null) { PathToAssembly = typeof(CompilerResultsTests).Assembly.Location }; + var results = new CompilerResults(null) { PathToAssembly = (PlatformDetection.IsBrowser ? "/" : string.Empty) + typeof(CompilerResultsTests).Assembly.Location }; Assert.NotNull(results.CompiledAssembly); Assert.Equal(typeof(CompilerResultsTests).Assembly.FullName, results.CompiledAssembly.FullName); diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index b11eb01..0473fc6 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -22,7 +22,6 @@ -