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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-03-21 17:03:44 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-03-21 17:03:44 +0400
commit85d2039170f58dc3ee4edf3dfae164db024c285a (patch)
treec7afc21a1e62af1c6e9b0b4d8237cbbc16e24a15 /tests/PHPUnit/travis.sh
parenteb29f1d79d854ee8d9fedb70e70e85fc76521127 (diff)
Do not do phpunit @group test for UI tests.
Diffstat (limited to 'tests/PHPUnit/travis.sh')
-rwxr-xr-xtests/PHPUnit/travis.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/PHPUnit/travis.sh b/tests/PHPUnit/travis.sh
index c9f4892459..b71061c483 100755
--- a/tests/PHPUnit/travis.sh
+++ b/tests/PHPUnit/travis.sh
@@ -1,11 +1,14 @@
#!/bin/bash
-if [ `phpunit --group __nogroup__ | grep "No tests executed" | wc -l` -ne 1 ]
+if [ "$TEST_SUITE" != "UITests" ]
then
- echo "=====> There are some tests functions which do not have a @group set. "
- echo " Please add the @group phpdoc comment to the following tests: <====="
- phpunit --group __nogroup__ --testdox | grep "[x]"
- exit 1
+ if [ `phpunit --group __nogroup__ | grep "No tests executed" | wc -l` -ne 1 ]
+ then
+ echo "=====> There are some tests functions which do not have a @group set. "
+ echo " Please add the @group phpdoc comment to the following tests: <====="
+ phpunit --group __nogroup__ --testdox | grep "[x]"
+ exit 1
+ fi
fi
if [ -n "$TEST_SUITE" ]