Browse Source

Only loop over Test cases

Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling 7 years ago
parent
commit
547f6ee009
1 changed files with 1 additions and 1 deletions
  1. 1 1
      autotest.sh

+ 1 - 1
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=$?