From 0ff0494f108bff514c4ef05a301769dc8962d66f Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Wed, 23 Sep 2009 16:47:03 +0200 Subject: Skip tst_QWidget::setWindowGeometry on X11 Since WindowManager operation are all assync, and we have no way to know if the window manager has finished playing with the window geometry, this test can't be reliable. Reviewed-by: Denis --- tests/auto/qwidget/tst_qwidget.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp index 811213a..126d571 100644 --- a/tests/auto/qwidget/tst_qwidget.cpp +++ b/tests/auto/qwidget/tst_qwidget.cpp @@ -4897,6 +4897,11 @@ void tst_QWidget::setWindowGeometry_data() void tst_QWidget::setWindowGeometry() { +#ifdef Q_WS_X11 + //Since WindowManager operation are all assync, and we have no way to know if the window + // manager has finished playing with the window geometry, this test can't be reliable. + QSKIP("Window Manager behaviour are too random for this test", SkipAll); +#endif QFETCH(QList, rects); QFETCH(int, windowFlags); QRect rect = rects.takeFirst(); @@ -5044,6 +5049,11 @@ void tst_QWidget::windowMoveResize_data() void tst_QWidget::windowMoveResize() { +#ifdef Q_WS_X11 + //Since WindowManager operation are all assync, and we have no way to know if the window + // manager has finished playing with the window geometry, this test can't be reliable. + QSKIP("Window Manager behaviour are too random for this test", SkipAll); +#endif #ifdef Q_OS_IRIX QSKIP("4DWM issues on IRIX makes this test fail", SkipAll); #endif -- cgit v0.12