mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-25 11:56:12 +01:00

[FEATURE] use paratest in runTests.sh

Part of #1379
This commit is contained in:
Eike Starkmann 2024-07-30 16:44:05 +02:00 committed by Oliver Klee
parent 7c4b9e8f18
commit 9fa8109124

View file

@ -546,7 +546,7 @@ case ${TEST_SUITE} in
;; ;;
functional) functional)
[ -z "${TEST_FILE}" ] && TEST_FILE="Tests/Functional" [ -z "${TEST_FILE}" ] && TEST_FILE="Tests/Functional"
COMMAND=".Build/bin/phpunit -c Build/phpunit/FunctionalTests.xml --exclude-group not-${DBMS} ${EXTRA_TEST_OPTIONS} ${TEST_FILE}" COMMAND=".Build/bin/paratest -c Build/phpunit/FunctionalTests.xml --exclude-group not-${DBMS} ${EXTRA_TEST_OPTIONS} ${TEST_FILE}"
case ${DBMS} in case ${DBMS} in
mariadb) mariadb)
echo "Using driver: ${DATABASE_DRIVER}" echo "Using driver: ${DATABASE_DRIVER}"
@ -574,6 +574,7 @@ case ${TEST_SUITE} in
sqlite) sqlite)
CONTAINERPARAMS="-e typo3DatabaseDriver=pdo_sqlite" CONTAINERPARAMS="-e typo3DatabaseDriver=pdo_sqlite"
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name functional-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${CONTAINERPARAMS} ${IMAGE_PHP} ${COMMAND} ${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name functional-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${CONTAINERPARAMS} ${IMAGE_PHP} ${COMMAND}
echo "{CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name functional-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG=\"${XDEBUG_CONFIG}\" ${CONTAINERPARAMS} ${IMAGE_PHP} ${COMMAND}"
SUITE_EXIT_CODE=$? SUITE_EXIT_CODE=$?
;; ;;
esac esac