tst_font::font(): Use correct platform name for macOS

The fact that we've been running this test with the wrong product type
check for a long time indicates that the test isn't actually crashing
on macOS, but that's something to investigate separately.

Task-number: QTBUG-70063
Change-Id: I231d6101f2aac56bd495c3c2e76bad6d084ff2fa
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Tor Arne Vestbø 2024-05-26 20:59:28 +02:00
parent b70dc1196c
commit 4bef0cda1f
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ void tst_font::font()
QFETCH(QString, testFile);
QFETCH(QFont, expectedFont);
if (QSysInfo::productType().compare(QLatin1String("osx"), Qt::CaseInsensitive) == 0
if (QSysInfo::productType().compare(QLatin1String("macos"), Qt::CaseInsensitive) == 0
&& qgetenv("QTEST_ENVIRONMENT").split(' ').contains("CI")) {
QSKIP("This test crashes on macOS: QTBUG-70063");
}