From 061a2012ad70159ddb28a28344f67637bc965f18 Mon Sep 17 00:00:00 2001 From: Tomasz Kozlowski Date: Mon, 6 Nov 2023 11:13:37 +0100 Subject: Skip test which resizes window in graphic scene while using EGLFS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This test is resizing top window, which is not supported in EGLFS, so this test needs to be turned off. Pick-to: 6.7 Task-number: QTBUG-115777 Change-Id: Idb81802399fe5bd9af3f342692d2212cd06ead9c Reviewed-by: Pasi Petäjäjärvi --- tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/auto/widgets/graphicsview/qgraphicsscene') diff --git a/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp b/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp index f42670e4bd..314166114d 100644 --- a/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp +++ b/tests/auto/widgets/graphicsview/qgraphicsscene/tst_qgraphicsscene.cpp @@ -2680,6 +2680,9 @@ void tst_QGraphicsScene::renderItemsWithNegativeWidthOrHeight() #ifdef Q_OS_ANDROID QSKIP("Test only works on platforms with resizable windows"); #endif + if (QGuiApplication::platformName().startsWith(QLatin1String("eglfs"), Qt::CaseInsensitive)) + QSKIP("EGLFS does not allow resizing on top window"); + QGraphicsScene scene(0, 0, m_testSize.width(), m_testSize.height()); // Add item with negative width. -- cgit v1.2.3