Commit 57648d3f authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] runTests.sh: Use sqlite by default for functionals

Change the default DBMS for functional tests in
runTests.sh from mariadb to sqlite: sqlite is
sigificantly quicker with functional tests and
thus the preferred DBMS selection when running
tests locally for us lazy devs since we can omit
the '-d sqlite' option now.

This has no impact on CI since the DBMS is
always explicitly set in gitlab-ci configs.

Resolves: #96585
Releases: main, 11.5
Change-Id: I93b68f48a409fc1afb14d8a2aecbc295dd2255e5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73065


Tested-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benjamin Franzke's avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent c9634a4f
......@@ -126,13 +126,13 @@ Options:
- mysqli (default)
- pdo_mysql
-d <mariadb|mysql|postgres|sqlite>
-d <sqlite|mariadb|mysql|postgres>
Only with -s functional|functionalDeprecated|acceptance|acceptanceInstall
Specifies on which DBMS tests are performed
- mariadb (default): use mariadb
- sqlite: (default): use sqlite
- mariadb use mariadb
- mysql: use MySQL server
- postgres: use postgres
- sqlite: use sqlite
-i <10.1|10.2|10.3|10.4|10.5>
Only with -d mariadb
......@@ -270,7 +270,7 @@ fi
# Option defaults
TEST_SUITE="unit"
DBMS="mariadb"
DBMS="sqlite"
PHP_VERSION="8.1"
PHP_XDEBUG_ON=0
PHP_XDEBUG_PORT=9003
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment