diff options
author | Alexander Kyte <alexmkyte@gmail.com> | 2017-06-07 21:44:36 +0300 |
---|---|---|
committer | Alexander Kyte <alexmkyte@gmail.com> | 2017-08-30 19:54:47 +0300 |
commit | a4edbde01e2d71230a9506cbbee29ca8276e7705 (patch) | |
tree | 36cab56f649447c87fde78c20b4e870e9347de26 /mcs/class/System.Web | |
parent | c872e0a100fe2474b0f5ff7993940b66493fe7a9 (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.cs | 10 |
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) |