diff options
author | Manish Sinha <manish.sinha@xamarin.com> | 2015-10-06 22:53:01 +0300 |
---|---|---|
committer | Manish Sinha <manish.sinha@xamarin.com> | 2015-10-06 22:53:01 +0300 |
commit | 51bb81b3c64a1ed11d2a99d131ae06068f189e3d (patch) | |
tree | 96e834fc128e1d5a858299444173adcc0da6b85e /main/tests | |
parent | da7fe7b94b09e4127630c4eebc454bb50d765bfb (diff) |
[UITest] Allow running a UITest by test case, test fixture or a namespace
Diffstat (limited to 'main/tests')
-rw-r--r-- | main/tests/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/tests/Makefile.am b/main/tests/Makefile.am index fc415a01dc..ac6e561003 100644 --- a/main/tests/Makefile.am +++ b/main/tests/Makefile.am @@ -77,7 +77,10 @@ uitest: if test -n "$(categories)"; then \ ($(RUN_TEST) -xml=TestResult_`basename $$asm`.xml -labels -include=$(categories) $$asm) || exit $?; \ fi; \ - if ! test -n "$(categories)"; then \ + if test -n "$(tests)"; then \ + ($(RUN_TEST) -xml=TestResult_`basename $$asm`.xml -labels -run=$(tests) $$asm) || exit $?; \ + fi; \ + if ! test -n "$(categories)" && ! test -n "$(tests)"; then \ ($(RUN_TEST) -xml=TestResult_`basename $$asm`.xml -labels $$asm) || exit $?; \ fi; \ fi; \ |