Disable tst_ForeignWindow::embedForeignWindow() null-parent check on Linux

It's flakey, so let's unbreak the build while we investigate further.

Change-Id: I9f7559803dd3ebc80946e5e5c5d31292101cd36f
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit b232af95838a5a4321b52c1d6ba4af1426fc8f3a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tor Arne Vestbø 2023-11-22 10:58:24 +01:00 committed by Qt Cherry-pick Bot
parent 3cec57d9c4
commit 7524899cf2

View File

@ -86,8 +86,11 @@ void tst_ForeignWindow::embedForeignWindow()
foreignWindow->setParent(&parentWindow);
QTRY_COMPARE(nativeWindow.parentWinId(), parentWindow.winId());
// FIXME: This test is flakey on Linux. Figure out why
#if !defined(Q_OS_LINUX)
foreignWindow->setParent(nullptr);
QTRY_VERIFY(nativeWindow.parentWinId() != parentWindow.winId());
#endif
}
#include <tst_foreignwindow.moc>