mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-12-25 09:06:11 +01:00
[BUGFIX] Display dbms version for functional test execution (#1276)
The `Build/Scripts/runTests.sh` has been streamlined recently towards the `docker-compose less` approach of the TYPO3 core. That means, that the `runTest.sh` has been heavily modified, and multiple changes in the core variant has been implemented. One of these changes included streamlining the Database Version handling for the different vendors and combining multiple options into the `-i` option and using a generic version variable instead of vendor specific ones. Sadly, it has been missed to align the version output on the end to the generic variable name. This change modifies the dbms version output at the end of the functional test execution to use the correct generic version variable and thus fixing the missing version information in the output. The switch has been simplified in the same step. Resolves: #1272
This commit is contained in:
parent
3ba56187bc
commit
1a0a288a8b
1 changed files with 2 additions and 8 deletions
|
@ -646,14 +646,8 @@ echo "TYPO3: ${CORE_VERSION}" >&2
|
|||
echo "CONTAINER_BIN: ${CONTAINER_BIN}"
|
||||
if [[ ${TEST_SUITE} =~ ^functional$ ]]; then
|
||||
case "${DBMS}" in
|
||||
mariadb)
|
||||
echo "DBMS: ${DBMS} version ${MARIADB_VERSION} driver ${DATABASE_DRIVER}" >&2
|
||||
;;
|
||||
mysql)
|
||||
echo "DBMS: ${DBMS} version ${MYSQL_VERSION} driver ${DATABASE_DRIVER}" >&2
|
||||
;;
|
||||
postgres)
|
||||
echo "DBMS: ${DBMS} version ${POSTGRES_VERSION}" >&2
|
||||
mariadb|mysql|postgres)
|
||||
echo "DBMS: ${DBMS} version ${DBMS_VERSION} driver ${DATABASE_DRIVER}" >&2
|
||||
;;
|
||||
sqlite)
|
||||
echo "DBMS: ${DBMS}" >&2
|
||||
|
|
Loading…
Reference in a new issue