Only loop over Test cases

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/4406/head
Joas Schilling 7 years ago
parent 140580f9d8
commit 547f6ee009
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8

@ -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=$?

Loading…
Cancel
Save