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 Köplinger <alex.koeplinger@outlook.com>2016-10-29 14:56:44 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2016-10-29 15:09:32 +0300
commit01c9543e084d1196a051c4a980b255b0f8b399d5 (patch)
treeab7bcb8e36e2eb0d06b678c8cad219cf25a690ab /mcs/class/Microsoft.Build.Framework
parenta0f51a380344065651abb0d07763350303680247 (diff)
[bcl] Add patching of nunit-lite-console.exe.config file
Because nunit-lite runs everything in the same AppDomain, we can't use dll.config files for settings anymore. Since a few test suites rely on being able to read those settings we need to patch them into the main nunit-lite-console.exe.config file instead before the test. Remove all _test.dll.config files and replace with nunit-lite patcher equivalent
Diffstat (limited to 'mcs/class/Microsoft.Build.Framework')
-rw-r--r--mcs/class/Microsoft.Build.Framework/.gitignore1
-rw-r--r--mcs/class/Microsoft.Build.Framework/Makefile2
2 files changed, 3 insertions, 0 deletions
diff --git a/mcs/class/Microsoft.Build.Framework/.gitignore b/mcs/class/Microsoft.Build.Framework/.gitignore
new file mode 100644
index 00000000000..c8cb7179505
--- /dev/null
+++ b/mcs/class/Microsoft.Build.Framework/.gitignore
@@ -0,0 +1 @@
+Test/test-config-file-*
diff --git a/mcs/class/Microsoft.Build.Framework/Makefile b/mcs/class/Microsoft.Build.Framework/Makefile
index f31f5a5835e..edd7cc2e8eb 100644
--- a/mcs/class/Microsoft.Build.Framework/Makefile
+++ b/mcs/class/Microsoft.Build.Framework/Makefile
@@ -10,6 +10,8 @@ LIBRARY = Microsoft.Build.Framework.dll
LIB_REFS = $(PARENT_PROFILE)System
LIB_MCS_FLAGS =
+TEST_NUNITLITE_APP_CONFIG_RUNTIME=Test/test-config-file-$(PROFILE)
+
EXTRA_DISTFILES = \
Mono.XBuild.Framework/AssemblyLoadInfo.cs