Explorar el Código

Use phpunit's directory feature

Signed-off-by: Joas Schilling <coding@schilljs.com>
tags/v14.0.0beta1
Joas Schilling hace 6 años
padre
commit
13e04bc7d4
No account linked to committer's email address
Se han modificado 1 ficheros con 3 adiciones y 11 borrados
  1. 3
    11
      autotest.sh

+ 3
- 11
autotest.sh Ver fichero

@@ -380,17 +380,9 @@ function execute_tests {
echo "No coverage"
fi

if [ -d "$2" ]; then
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=$?
done;
else
echo "${PHPUNIT[@]}" --configuration phpunit-autotest.xml $GROUP $COVER --log-junit "autotest-results-$DB.xml" "$2" "$3"
"${PHPUNIT[@]}" --configuration phpunit-autotest.xml $GROUP $COVER --log-junit "autotest-results-$DB.xml" "$2" "$3"
RESULT=$?
fi
echo "${PHPUNIT[@]}" --configuration phpunit-autotest.xml $GROUP $COVER --log-junit "autotest-results-$DB.xml" "$2" "$3"
"${PHPUNIT[@]}" --configuration phpunit-autotest.xml $GROUP $COVER --log-junit "autotest-results-$DB.xml" "$2" "$3"
RESULT=$?

if [ "$PRIMARY_STORAGE_CONFIG" == "swift" ] ; then
cd ..

Cargando…
Cancelar
Guardar