Re-enable QFontDatabase test on Mac OS X.
This test has one stable failure on Mac. Mark that failure with QEXPECT_FAIL so that the rest of the test can be used by CI to catch regressions. Also, change the failing QVERIFY to QCOMPARE so that the mismatching QStringList values will appear in the test output. Task-number: QTBUG-23062 Change-Id: Icb0cccfe0bd5bc74a6a2c1ddba89c1f55f5e64de Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
This commit is contained in:
parent
0bc02fd0d6
commit
14ba6240bb
@ -9,5 +9,3 @@ wince* {
|
||||
additionalFiles.path = .
|
||||
DEPLOYMENT += additionalFiles
|
||||
}
|
||||
|
||||
mac: CONFIG += insignificant_test # QTBUG-23062
|
||||
|
@ -265,7 +265,10 @@ void tst_QFontDatabase::addAppFont()
|
||||
QVERIFY(QFontDatabase::removeApplicationFont(id));
|
||||
QCOMPARE(fontDbChangedSpy.count(), 2);
|
||||
|
||||
QVERIFY(db.families() == oldFamilies);
|
||||
#ifdef Q_OS_MAC
|
||||
QEXPECT_FAIL("font file", "QTBUG-23062", Continue);
|
||||
#endif
|
||||
QCOMPARE(db.families(), oldFamilies);
|
||||
}
|
||||
|
||||
QTEST_MAIN(tst_QFontDatabase)
|
||||
|
Loading…
Reference in New Issue
Block a user