From 547f6ee0098b46d6602c40e003a9ae6032f92872 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 20 Apr 2017 12:21:39 +0200 Subject: [PATCH] Only loop over Test cases Signed-off-by: Joas Schilling --- autotest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=$?