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.am12
3 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c94755b6c0..eea33ddd8c 100644
--- a/Makefile
+++ b/Makefile
@@ -111,6 +111,9 @@ run-gdb:
test:
cd main && $(MAKE) test assembly=$(assembly)
+uitest:
+ cd main && $(MAKE) uitest assembly=$(assembly)
+
coverage:
cd main && $(MAKE) coverage
diff --git a/main/Makefile.am b/main/Makefile.am
index 8b2ad9e2ae..a40a7c0d63 100644
--- a/main/Makefile.am
+++ b/main/Makefile.am
@@ -152,6 +152,9 @@ check-addins:
test:
cd tests && $(MAKE) test assembly=$(assembly)
+uitest:
+ cd tests && $(MAKE) uitest assembly=$(assembly)
+
coverage:
cd tests && $(MAKE) coverage
diff --git a/main/tests/Makefile.am b/main/tests/Makefile.am
index 03aa0ead55..4ccfc942cd 100644
--- a/main/tests/Makefile.am
+++ b/main/tests/Makefile.am
@@ -46,6 +46,9 @@ if ENABLE_WINDOWSPLATFORM
TEST_ASSEMBLIES += $(TEST_ASSEMBLIES_WINDOWS)
endif
+UITEST_ASSEMBLIES = \
+ $(TEST_DIR)/UserInterfaceTests.dll
+
test:
@if test -n "$(assembly)"; then \
for asm in $(TEST_ASSEMBLIES); do \
@@ -69,6 +72,15 @@ test:
fi; \
fi
+uitest:
+ @if test -n "$(assembly)"; then \
+ for asm in $(UITEST_ASSEMBLIES); do \
+ if test `basename $$asm` = $(assembly); then \
+ ($(RUN_TEST) -xml=TestResult_`basename $$asm`.xml -labels $$asm) || exit $?; \
+ fi; \
+ done; \
+ fi
+
coverage:
if ! test -n "$(assembly)"; then \
for asm in $(TEST_ASSEMBLIES); do \