mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-24 22:56:13 +01:00
[BUGFIX] Display static driver info for sqlite and postgres (#1281)
In the PHP world there are only one driver for SQLite and Postgres available. `runTests.sh` disallows to specify a driver for SQLite or Postgres and therefore setting the variable would make that check more complex. This change modifies the driver information for SQLite and Postgres to use hardcoded driver output to keep the cross check for specifing a driver for these database vendors. Resolves: #1278
This commit is contained in:
parent
6828977b74
commit
823d4c406d
1 changed files with 5 additions and 2 deletions
|
@ -630,11 +630,14 @@ echo "TYPO3: ${CORE_VERSION}" >&2
|
||||||
echo "CONTAINER_BIN: ${CONTAINER_BIN}"
|
echo "CONTAINER_BIN: ${CONTAINER_BIN}"
|
||||||
if [[ ${TEST_SUITE} =~ ^functional$ ]]; then
|
if [[ ${TEST_SUITE} =~ ^functional$ ]]; then
|
||||||
case "${DBMS}" in
|
case "${DBMS}" in
|
||||||
mariadb|mysql|postgres)
|
mariadb|mysql)
|
||||||
echo "DBMS: ${DBMS} version ${DBMS_VERSION} driver ${DATABASE_DRIVER}" >&2
|
echo "DBMS: ${DBMS} version ${DBMS_VERSION} driver ${DATABASE_DRIVER}" >&2
|
||||||
;;
|
;;
|
||||||
|
postgres)
|
||||||
|
echo "DBMS: ${DBMS} version ${DBMS_VERSION} driver pdo_pgsql" >&2
|
||||||
|
;;
|
||||||
sqlite)
|
sqlite)
|
||||||
echo "DBMS: ${DBMS}" >&2
|
echo "DBMS: ${DBMS} driver pdo_sqlite" >&2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue