From 36a69024d4a4e505f4eaf3a23a0df199c89eda6c Mon Sep 17 00:00:00 2001 From: Deepak Shankargouda Date: Thu, 7 Apr 2016 15:22:00 -0700 Subject: Fixing failures of CscBench, Serialization and Deserialization perf tests (#4151) --- tests/src/JIT/Performance/CodeQuality/Roslyn/CscBench.cs | 7 +++++++ tests/src/JIT/config/benchmark+roslyn/project.json | 1 + tests/src/JIT/config/benchmark+serialize/project.json | 1 + 3 files changed, 9 insertions(+) (limited to 'tests') 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", -- cgit v1.2.3