tst_sqlquery: Skip datetime test if no database drivers are available
Change-Id: I4a4619f2edc3c82fc37605d54e9bedc36abd7388 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
e4efd56637
commit
3e5ba7ff7d
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user