diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-03-21 17:03:44 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-03-21 17:03:44 +0400 |
commit | 85d2039170f58dc3ee4edf3dfae164db024c285a (patch) | |
tree | c7afc21a1e62af1c6e9b0b4d8237cbbc16e24a15 /tests/PHPUnit/travis.sh | |
parent | eb29f1d79d854ee8d9fedb70e70e85fc76521127 (diff) |
Do not do phpunit @group test for UI tests.
Diffstat (limited to 'tests/PHPUnit/travis.sh')
-rwxr-xr-x | tests/PHPUnit/travis.sh | 13 |
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" ] |