diff options
Diffstat (limited to 'tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp')
-rw-r--r-- | tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp index 3aa23c504d..e15ac4faf3 100644 --- a/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp +++ b/tests/auto/sql/kernel/qsqlquery/tst_qsqlquery.cpp @@ -4537,6 +4537,9 @@ void tst_QSqlQuery::QTBUG_57138() void tst_QSqlQuery::dateTime_data() { + if (dbs.dbNames.isEmpty()) + QSKIP( "No database drivers are available in this Qt configuration"); + QTest::addColumn<QString>("dbName"); QTest::addColumn<QString>("tableName"); QTest::addColumn<QString>("createTableString"); |