mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 04:16:13 +01:00
[BUGFIX] Use correct path for functional and unit tests (#1375)
This commit is contained in:
parent
37602a09a2
commit
e87c7403a6
1 changed files with 3 additions and 3 deletions
|
@ -527,7 +527,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 Configuration/FunctionalTests.xml --exclude-group not-${DBMS} ${EXTRA_TEST_OPTIONS} ${TEST_FILE}"
|
COMMAND=".Build/bin/phpunit -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}"
|
||||||
|
@ -593,12 +593,12 @@ case ${TEST_SUITE} in
|
||||||
;;
|
;;
|
||||||
unit)
|
unit)
|
||||||
[ -z "${TEST_FILE}" ] && TEST_FILE="Tests/Unit"
|
[ -z "${TEST_FILE}" ] && TEST_FILE="Tests/Unit"
|
||||||
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name unit-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${IMAGE_PHP} .Build/bin/phpunit -c Configuration/UnitTests.xml ${EXTRA_TEST_OPTIONS} ${TEST_FILE}
|
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name unit-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${IMAGE_PHP} .Build/bin/phpunit -c Build/phpunit/UnitTests.xml ${EXTRA_TEST_OPTIONS} ${TEST_FILE}
|
||||||
SUITE_EXIT_CODE=$?
|
SUITE_EXIT_CODE=$?
|
||||||
;;
|
;;
|
||||||
unitRandom)
|
unitRandom)
|
||||||
[ -z "${TEST_FILE}" ] && TEST_FILE="Tests/Unit"
|
[ -z "${TEST_FILE}" ] && TEST_FILE="Tests/Unit"
|
||||||
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name unit-random-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${IMAGE_PHP} .Build/bin/phpunit -c Configuration/UnitTests.xml --order-by=random ${EXTRA_TEST_OPTIONS} ${PHPUNIT_RANDOM} ${TEST_FILE}
|
${CONTAINER_BIN} run ${CONTAINER_COMMON_PARAMS} --name unit-random-${SUFFIX} ${XDEBUG_MODE} -e XDEBUG_CONFIG="${XDEBUG_CONFIG}" ${IMAGE_PHP} .Build/bin/phpunit -c Build/phpunit/UnitTests.xml --order-by=random ${EXTRA_TEST_OPTIONS} ${PHPUNIT_RANDOM} ${TEST_FILE}
|
||||||
SUITE_EXIT_CODE=$?
|
SUITE_EXIT_CODE=$?
|
||||||
;;
|
;;
|
||||||
update)
|
update)
|
||||||
|
|
Loading…
Reference in a new issue