summaryrefslogtreecommitdiffstats
path: root/tests/auto/sql/models/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Sql: Fix heap-user-after-free for globally initialized db objectsAlexandru Croitor2020-07-011-1/+3
| | | | | | | | | | | | | | | Becaues the database objects were created as globals, there was a possible use-after-free issue when deleting the objects on application exit. Move the initialization of the database objects into static variables inside the test constructor. As a drive-by, also add one missing test to the CMake projects. Fixes: QTBUG-85357 Change-Id: I2c8f2c5daee96bb9d1d21dae37950a2da5ffdf27 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add Sql build and testsTobias Hunger2018-11-051-0/+6
Change-Id: I9bf7d61a65950eafcfe6b3ea9c437e353ff7b2ed Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>