aboutsummaryrefslogtreecommitdiffstats
path: root/autotest.sh
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-04-20 12:21:39 +0200
committerJoas Schilling <coding@schilljs.com>2017-04-20 12:21:39 +0200
commit547f6ee0098b46d6602c40e003a9ae6032f92872 (patch)
treedc36b1e95361b8f2cc7b12a00992be2c98982413 /autotest.sh
parent140580f9d8468b8450f31dca997916a07693277f (diff)
downloadnextcloud-server-547f6ee0098b46d6602c40e003a9ae6032f92872.tar.gz
nextcloud-server-547f6ee0098b46d6602c40e003a9ae6032f92872.zip
Only loop over Test cases
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'autotest.sh')
-rwxr-xr-xautotest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotest.sh b/autotest.sh
index 735c6998e05..584b5dc0bd8 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -358,7 +358,7 @@ function execute_tests {
fi
if [ -d "$2" ]; then
- for f in $(find "$2" -name '*.php'); do
+ for f in $(find "$2" -name '*Test.php'); do
echo "${PHPUNIT[@]}" --configuration phpunit-autotest.xml $GROUP $COVER --log-junit "autotest-results-$DB.xml" "$2" / "$f" "$3"
"${PHPUNIT[@]}" --configuration phpunit-autotest.xml $GROUP $COVER --log-junit "autotest-results-$DB.xml" "$f" "$3"
RESULT=$?