diff options
author | Deepak Shankargouda <deshank@microsoft.com> | 2016-04-07 15:22:00 -0700 |
---|---|---|
committer | Deepak Shankargouda <deshank@microsoft.com> | 2016-04-07 15:22:00 -0700 |
commit | 36a69024d4a4e505f4eaf3a23a0df199c89eda6c (patch) | |
tree | 62d85a169a23f7d14bb7a435ca340dd92492335f /tests | |
parent | 37642c399e431e0c865d0dc2a7341da2be253742 (diff) | |
download | coreclr-36a69024d4a4e505f4eaf3a23a0df199c89eda6c.tar.gz coreclr-36a69024d4a4e505f4eaf3a23a0df199c89eda6c.tar.bz2 coreclr-36a69024d4a4e505f4eaf3a23a0df199c89eda6c.zip |
Fixing failures of CscBench, Serialization and Deserialization perf tests (#4151)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/JIT/Performance/CodeQuality/Roslyn/CscBench.cs | 7 | ||||
-rw-r--r-- | tests/src/JIT/config/benchmark+roslyn/project.json | 1 | ||||
-rw-r--r-- | tests/src/JIT/config/benchmark+serialize/project.json | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/src/JIT/Performance/CodeQuality/Roslyn/CscBench.cs b/tests/src/JIT/Performance/CodeQuality/Roslyn/CscBench.cs index e0b9e9987a..92e132a327 100644 --- a/tests/src/JIT/Performance/CodeQuality/Roslyn/CscBench.cs +++ b/tests/src/JIT/Performance/CodeQuality/Roslyn/CscBench.cs @@ -32,6 +32,13 @@ public static class CscBench { string CoreRoot = System.Environment.GetEnvironmentVariable("CORE_ROOT"); if (CoreRoot == null) { return false; } + // Some CoreCLR packages have mscorlib.ni.dll only + string nicorlib = Path.Combine(CoreRoot, "mscorlib.ni.dll"); + if(File.Exists(nicorlib)) + { + MscorlibPath = nicorlib; + return true; + } MscorlibPath = Path.Combine(CoreRoot, "mscorlib.dll"); return File.Exists(MscorlibPath); } diff --git a/tests/src/JIT/config/benchmark+roslyn/project.json b/tests/src/JIT/config/benchmark+roslyn/project.json index b50748292f..c15abb6771 100644 --- a/tests/src/JIT/config/benchmark+roslyn/project.json +++ b/tests/src/JIT/config/benchmark+roslyn/project.json @@ -6,6 +6,7 @@ "Microsoft.DotNet.xunit.performance.runner.Windows": "1.0.0-alpha-build0029", "Microsoft.NETCore.Platforms": "1.0.1-rc2-23816", "System.Console": "4.0.0-rc2-23816", + "System.Dynamic.Runtime": "4.0.0.0", "System.Numerics.Vectors": "4.1.1-rc2-23816", "System.Reflection": "4.0.10", "System.Reflection.Extensions": "4.0.0", diff --git a/tests/src/JIT/config/benchmark+serialize/project.json b/tests/src/JIT/config/benchmark+serialize/project.json index 2b6148d68a..675fa29bbf 100644 --- a/tests/src/JIT/config/benchmark+serialize/project.json +++ b/tests/src/JIT/config/benchmark+serialize/project.json @@ -8,6 +8,7 @@ "System.Console": "4.0.0-rc2-23816", "System.IO": "4.0.10", "System.ObjectModel": "4.0.10", + "System.Dynamic.Runtime": "4.0.0.0", "System.Runtime": "4.1.0-rc2-23816", "System.Runtime.Serialization.Json": "4.0.0", "System.Runtime.Serialization.Primitives": "4.0.10", |