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:
authorAlexander Kyte <alexmkyte@gmail.com>2017-06-07 21:44:36 +0300
committerAlexander Kyte <alexmkyte@gmail.com>2017-08-30 19:54:47 +0300
commita4edbde01e2d71230a9506cbbee29ca8276e7705 (patch)
tree36cab56f649447c87fde78c20b4e870e9347de26 /mcs/class/System.Web
parentc872e0a100fe2474b0f5ff7993940b66493fe7a9 (diff)
[runtime] Move testing dll into profile
Diffstat (limited to 'mcs/class/System.Web')
-rw-r--r--mcs/class/System.Web/Test/System.Web.Caching/CacheItemPriorityQueueTest.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/mcs/class/System.Web/Test/System.Web.Caching/CacheItemPriorityQueueTest.cs b/mcs/class/System.Web/Test/System.Web.Caching/CacheItemPriorityQueueTest.cs
index b9754e7e84a..3e1c6d2e5d4 100644
--- a/mcs/class/System.Web/Test/System.Web.Caching/CacheItemPriorityQueueTest.cs
+++ b/mcs/class/System.Web/Test/System.Web.Caching/CacheItemPriorityQueueTest.cs
@@ -91,12 +91,10 @@ namespace MonoTests.System.Web.Caching
static CacheItemPriorityQueueTest ()
{
- dataDir =
- Path.Combine (
- Path.Combine (
- Path.Combine (Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location), "Test"),
- "System.Web.Caching"),
- DATA_DIR);
+ // Assumes this is compiled into mcs/class/lib/<profile>
+ string class_dir = Directory.GetParent (Path.GetDirectoryName (Assembly.GetExecutingAssembly ().Location)).Parent.FullName;
+ string system_web_dir = Path.Combine (class_dir, "System.Web", "Test", "System.Web.Caching");
+ dataDir = Path.Combine (system_web_dir, DATA_DIR);
}
void RunTest (string testsFileName, string listFileName)