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

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

Pick-to: 6.6
Change-Id: I9f7559803dd3ebc80946e5e5c5d31292101cd36f
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Tor Arne Vestbø 2023-11-22 10:58:24 +01:00
parent 6a873a6edf
commit b232af9583

View File

@ -87,8 +87,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
}
void tst_ForeignWindow::embedInForeignWindow()