summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2018-01-25 09:14:03 +0100
committerAndy Shaw <andy.shaw@qt.io>2018-01-26 11:33:07 +0000
commite4fc098a53de86a8a9986d7e998d0bd56fecf93b (patch)
treebdfca81514ab01bdd1e431904001d15d9e9327fe /src/gui
parent4ca0d764546908dd31fc3794ddcead5582436097 (diff)
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>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions