Revert "Skip tst_examples on ASAN builds with Freetype font engine"

It is no longer needed, since the bug in the Freetype cache is
presumably fixed.

Task-number: QTBUG-118867
Change-Id: I7b22ddc5c238c4161a97f7c9a8c8e785d4849581
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit ee4b23418d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2024-01-17 15:57:58 +01:00 committed by Qt Cherry-pick Bot
parent e61fbd9a5d
commit e939dc31a2
1 changed files with 0 additions and 12 deletions

View File

@ -11,9 +11,6 @@
#include <QQmlEngine>
#include <QQmlError>
#include <QtGui/private/qfont_p.h>
#include <QtGui/private/qfontengine_p.h>
static QtMessageHandler testlibMsgHandler = nullptr;
void msgHandlerFilter(QtMsgType type, const QMessageLogContext &ctxt, const QString &msg)
{
@ -227,15 +224,6 @@ void tst_examples::examples_data()
void tst_examples::examples()
{
QFETCH(QString, file);
#if defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer)
QFont f;
f.setStyleStrategy(QFont::NoFontMerging);
QFontPrivate *font_d = QFontPrivate::get(f);
if (font_d->engineForScript(QChar::Script_Common)->type() == QFontEngine::Freetype)
QSKIP("Triggers a race condition in the Freetype face cache, QTBUG-118867", Continue);
#endif
QQuickWindow window;
window.setPersistentGraphics(true);
window.setPersistentSceneGraph(true);