@@ -13,9 +13,11 @@ cd "$THIS_SCRIPT_DIR" || exit 1
1313# none
1414# ################################################
1515checkResources () {
16+ clear
1617 echo " #################################################################" >&2
17- echo " Checking documentation, TypeScript and Scss files" >&2
18+ echo " Checking documentation, TypeScript, Scss and Xliff files" >&2
1819 echo " #################################################################" >&2
20+ echo " " >&2
1921
2022# ./additionalTests.sh -s lintScss
2123# EXIT_CODE_SCSS=$?
@@ -30,7 +32,7 @@ checkResources () {
3032 EXIT_CODE_DOCUMENTATION=$?
3133
3234 echo " #################################################################" >&2
33- echo " Checked documentation, TypeScript and Scss files" >&2
35+ echo " Checked documentation, TypeScript, Scss and Xliff files" >&2
3436 if [[ ${EXIT_CODE_SCSS} -eq 0 ]] && \
3537 [[ ${EXIT_CODE_TYPESCRIPT} -eq 0 ]] && \
3638 [[ ${EXIT_CODE_XLIFF} -eq 0 ]] && \
@@ -43,7 +45,7 @@ checkResources () {
4345 echo " #################################################################" >&2
4446 echo " " >&2
4547
46- cleanup
48+ ./additionalTests.sh -s clean
4749}
4850
4951# ################################################
@@ -62,6 +64,7 @@ runFunctionalTests () {
6264 local TEST_PATH=${4}
6365 local PREFER_LOWEST=${5}
6466
67+ clear
6568 echo " ###########################################################################" >&2
6669 echo " Run unit and/or functional tests with" >&2
6770 echo " - TYPO3 ${TYPO3_VERSION} " >&2
@@ -70,6 +73,7 @@ runFunctionalTests () {
7073 echo " - Test path ${TEST_PATH} " >&2
7174 echo " - Additional ${PREFER_LOWEST} " >&2
7275 echo " ###########################################################################" >&2
76+ echo " " >&2
7377
7478 ./runTests.sh -s cleanTests
7579
@@ -80,21 +84,12 @@ runFunctionalTests () {
8084
8185 ./runTests.sh \
8286 -p ${PHP_VERSION} \
83- -s composerInstall || exit 1 ; \
84- EXIT_CODE_CORE=$?
85-
86- ./additionalTests.sh \
87- -p ${PHP_VERSION} \
88- -s composerInstallPackage \
89- -q " typo3/cms-core:${TYPO3_VERSION} " \
90- -r " ${PREFER_LOWEST} " || exit 1 ; \
87+ -s composer require ${PREFER_LOWEST} " typo3/cms-core:${TYPO3_VERSION} " || exit 1 ; \
9188 EXIT_CODE_CORE=$?
9289
93- ./additionalTests .sh \
90+ ./runTests .sh \
9491 -p ${PHP_VERSION} \
95- -s composerInstallPackage \
96- -q " typo3/testing-framework:${TESTING_FRAMEWORK} " \
97- -r " --dev ${PREFER_LOWEST} " || exit 1 ; \
92+ -s composer require --dev ${PREFER_LOWEST} " typo3/testing-framework:${TESTING_FRAMEWORK} " || exit 1 ; \
9893 EXIT_CODE_FRAMEWORK=$?
9994
10095 ./runTests.sh \
@@ -140,7 +135,6 @@ runFunctionalTests () {
140135cleanup () {
141136 ./runTests.sh -s clean
142137 ./additionalTests.sh -s clean
143- echo " Cleaned up all test related files"
144138}
145139
146140LOWEST=" --prefer-lowest"
@@ -150,17 +144,17 @@ DEBUG_TESTS=false
150144if [[ $DEBUG_TESTS != true ]]; then
151145 checkResources
152146
153- TCORE=" ^13 .0"
147+ TCORE=" ^14 .0"
154148 TFRAMEWORK=" dev-main"
155-
156149 runFunctionalTests " 8.2" ${TCORE} ${TFRAMEWORK} ${TPATH} || exit 1
157150 runFunctionalTests " 8.2" ${TCORE} ${TFRAMEWORK} ${TPATH} ${LOWEST} || exit 1
158151 runFunctionalTests " 8.3" ${TCORE} ${TFRAMEWORK} ${TPATH} || exit 1
159152 runFunctionalTests " 8.3" ${TCORE} ${TFRAMEWORK} ${TPATH} ${LOWEST} || exit 1
160- cleanup
153+ runFunctionalTests " 8.4" ${TCORE} ${TFRAMEWORK} ${TPATH} || exit 1
154+ # runFunctionalTests "8.4" ${TCORE} ${TFRAMEWORK} ${TPATH} ${LOWEST} || exit 1
161155else
162156 # cleanup
163- runFunctionalTests " 8.2 " " ^13 .0" " dev-main" ${TPATH} ${LOWEST} || exit 1
157+ runFunctionalTests " 8.4 " " ^14 .0" " dev-main" ${TPATH} ${LOWEST} || exit 1
164158 # ./runTests.sh -x -p 8.2 -d sqlite -s functional -e "--group selected" Tests/Functional
165159 # ./runTests.sh -x -p 8.2 -d sqlite -s functional Tests/Functional
166160fi
0 commit comments