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
path: root/main
diff options
context:
space:
mode:
authorManish Sinha <manish.sinha@xamarin.com>2015-04-16 22:07:11 +0300
committerManish Sinha <manish.sinha@xamarin.com>2015-04-16 22:12:17 +0300
commit777499cb1c2744813a7333f9dbaae8c9abd881ab (patch)
tree1a53c7311c367e9af583842f7163867f7d883372 /main
parente07f485ac938cfc9feeef8134401a5f45f7ab282 (diff)
Create a new test target named uitest to run UITests
Diffstat (limited to 'main')
-rw-r--r--main/Makefile.am3
-rw-r--r--main/tests/Makefile.am12
2 files changed, 15 insertions, 0 deletions
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 \