diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-23 14:47:03 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-23 15:44:12 (GMT) |
commit | 0ff0494f108bff514c4ef05a301769dc8962d66f (patch) | |
tree | 930379bd9d244281b6cb4feead35985a333568ce /tests/auto/qwidget | |
parent | f494b7a9307675f8d6f4c1a6dd0ac07697705164 (diff) | |
download | Qt-0ff0494f108bff514c4ef05a301769dc8962d66f.zip Qt-0ff0494f108bff514c4ef05a301769dc8962d66f.tar.gz Qt-0ff0494f108bff514c4ef05a301769dc8962d66f.tar.bz2 |
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
Diffstat (limited to 'tests/auto/qwidget')
-rw-r--r-- | tests/auto/qwidget/tst_qwidget.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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<QRect>, 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 |