diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-11-22 10:58:24 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-11-22 15:42:01 +0100 |
commit | b232af95838a5a4321b52c1d6ba4af1426fc8f3a (patch) | |
tree | fdff6f9b75f9efc75b107f81fb862186d8b4bb98 /tests/auto/gui | |
parent | 6a873a6edf3c58dfc05ebd7e7d84b6ee8d1dc6da (diff) |
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>
Diffstat (limited to 'tests/auto/gui')
-rw-r--r-- | tests/auto/gui/kernel/qwindow/tst_foreignwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qwindow/tst_foreignwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_foreignwindow.cpp index 86d31fe06e..e1c05cf17b 100644 --- a/tests/auto/gui/kernel/qwindow/tst_foreignwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_foreignwindow.cpp @@ -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() |