qt5base-lts/tests/auto/sql/kernel/qsqldatabase
Andy Shaw e4fc098a53 Make it easier to specify test databases on a per system level
Instead of having to modify the tst_databases.h file whenever you want
to add a test database, this will now read from a file to find what
databases are available. This defaults to dbs.json in the same directory
or the QT_TEST_DATABASES_FILE environment variable can be set to point
to the file that contains the databases. The latter makes it easier for
CI then to have something set up on a per configuration basis.

The SQLite database stays hardcoded so this will continue to be tested as
before without any additional changes.

Change-Id: I7e7ccde6a6be3e490dd640b1590e3b691a6b2ab3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2018-01-26 11:33:07 +00:00
..
testdata Remove exec bits from files that should not be executable 2015-06-07 22:50:19 +00:00
.gitignore Moved sql autotests into new directory structure 2011-09-06 09:32:15 +02:00
qsqldatabase.pro QSql tests: Remove Windows CE and clean up code. 2016-03-10 15:07:02 +00:00
tst_databases.h Make it easier to specify test databases on a per system level 2018-01-26 11:33:07 +00:00
tst_qsqldatabase.cpp Return an invalid QSqlDatabase when accessing from another thread 2018-01-02 08:49:40 +00:00