Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--main/Makefile.am3
-rw-r--r--main/tests/Makefile.am13
3 files changed, 18 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8cd940aae7..951c0f629a 100644
--- a/Makefile
+++ b/Makefile
@@ -154,6 +154,9 @@ run-no-accessibility:
cd main && $(MAKE) run-no-accessibility
test:
cd main && $(MAKE) test assembly=$(assembly)
+
+deploy-tests:
+ cd main && $(MAKE) deploy-tests
uitest:
cd main && $(MAKE) uitest assembly=$(assembly) tests=$(tests)
diff --git a/main/Makefile.am b/main/Makefile.am
index 9a8c1aa67f..e46fdf1117 100644
--- a/main/Makefile.am
+++ b/main/Makefile.am
@@ -190,6 +190,9 @@ check-addins:
test:
cd tests && $(MAKE) test assembly=$(assembly)
+deploy-tests:
+ cd tests && $(MAKE) deploy-tests
+
uitest:
cd tests && $(MAKE) uitest assembly=$(assembly) categories=$(categories) tests=$(tests)
diff --git a/main/tests/Makefile.am b/main/tests/Makefile.am
index 8c7a05944a..6bb2202331 100644
--- a/main/tests/Makefile.am
+++ b/main/tests/Makefile.am
@@ -7,6 +7,7 @@ RUN_TEST=$(MDTOOL_RUN) run-md-tests
TEST_DIR=$(top_builddir)/build/tests
EXTERNAL=$(top_builddir)/external
MACOS_10_10=$(shell (test `sw_vers -productVersion | cut -f1 -d.` = 10 && test `sw_vers -productVersion | cut -f2 -d.` -ge 10) && echo yes)
+TEST_DEPLOY_DIR=$(top_builddir)/build/test-deploy
TEST_PROJECTS_MAC = \
MacPlatform.Tests/MacPlatform.Tests.csproj
@@ -124,6 +125,16 @@ coverage:
done; \
fi
+deploy-tests:
+ mkdir -p "$(TEST_DEPLOY_DIR)/tests/test-projects"
+ cp -r $(TEST_DIR)/ "$(TEST_DEPLOY_DIR)/tests"; \
+ cp -r $(top_srcdir)/tests/test-projects "$(TEST_DEPLOY_DIR)/tests"; \
+ for asm in $(TEST_ASSEMBLIES); do \
+ if ! [ -e $(TEST_DIR)/`basename $$asm` ]; then \
+ cp -r `dirname $$asm`/* "$(TEST_DEPLOY_DIR)/tests"; \
+ fi \
+ done;
+
include $(top_srcdir)/Makefile.include
EXTRA_DIST = \
@@ -182,4 +193,4 @@ EXTRA_DIST = \
test-projects/console-project/ConsoleProject/Properties/AssemblyInfo.cs \
test-projects/console-project/ConsoleProject/Program.cs \
test-projects/console-project/ConsoleProject.sln
-
+ \ No newline at end of file