Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
97378dc70e3d15dff015c9a16285fcada78375b1
Description
qtbase/tests/auto/widgets/graphicsview/qgraphicsproxywidget/qgraphicsproxywidget.pro is marked as an insignificant_test for configurations using xcb. This means that the test results are discarded and not used by CI to block regressions.
Examining recent CI logs shows slightly different failures on Ubunut 10.04 and 11.10.
10.04
4/13/12 10:16:30 AM EST: Testing tst_QGraphicsProxyWidget 4/13/12 10:16:40 AM EST: FAIL! : tst_QGraphicsProxyWidget::hoverEnterLeaveEvent(widget, hover) Compared values are not the same 4/13/12 10:16:40 AM EST: Actual (widget->testAttribute(Qt::WA_UnderMouse)): 0 4/13/12 10:16:40 AM EST: Expected (hasWidget ? true : false): 1 4/13/12 10:16:40 AM EST: Loc: [tst_qgraphicsproxywidget.cpp(988)] 4/13/12 10:16:45 AM EST: FAIL! : tst_QGraphicsProxyWidget::paintEvent() Compared values are not the same 4/13/12 10:16:45 AM EST: Actual (proxy.paintCount): 0 4/13/12 10:16:45 AM EST: Expected (1): 1 4/13/12 10:16:45 AM EST: Loc: [tst_qgraphicsproxywidget.cpp(1305)] 4/13/12 10:16:50 AM EST: Totals: 131 passed, 2 failed, 26 skipped
11.10
4/13/12 10:24:02 AM EST: Testing tst_QGraphicsProxyWidget 4/13/12 10:24:07 AM EST: FAIL! : tst_QGraphicsProxyWidget::hoverEnterLeaveEvent(widget, no hover) Compared values are not the same 4/13/12 10:24:07 AM EST: Actual (widget->testAttribute(Qt::WA_UnderMouse)): 0 4/13/12 10:24:07 AM EST: Expected (hasWidget ? true : false): 1 4/13/12 10:24:07 AM EST: Loc: [tst_qgraphicsproxywidget.cpp(988)] 4/13/12 10:24:12 AM EST: FAIL! : tst_QGraphicsProxyWidget::hoverEnterLeaveEvent(widget, hover) Compared values are not the same 4/13/12 10:24:12 AM EST: Actual (widget->testAttribute(Qt::WA_UnderMouse)): 0 4/13/12 10:24:12 AM EST: Expected (hasWidget ? true : false): 1 4/13/12 10:24:12 AM EST: Loc: [tst_qgraphicsproxywidget.cpp(988)] 4/13/12 10:24:22 AM EST: FAIL! : tst_QGraphicsProxyWidget::paintEvent() Compared values are not the same 4/13/12 10:24:22 AM EST: Actual (proxy.paintCount): 0 4/13/12 10:24:22 AM EST: Expected (1): 1 4/13/12 10:24:22 AM EST: Loc: [tst_qgraphicsproxywidget.cpp(1305)] 4/13/12 10:24:32 AM EST: FAIL! : tst_QGraphicsProxyWidget::updateAndDelete() Compared values are not the same 4/13/12 10:24:32 AM EST: Actual (view.npaints): 2 4/13/12 10:24:32 AM EST: Expected (1): 1 4/13/12 10:24:32 AM EST: Loc: [tst_qgraphicsproxywidget.cpp(3383)] 4/13/12 10:24:32 AM EST: Totals: 127 passed, 4 failed, 28 skipped
There appears to be some overlap between these failures and those reported for Windows in QTBUG-24294.
If the above failures are stable, the insignificant_test marker could be replaced by appropriate QEXPECT_FAIL calls so that the good part of the test can be used by CI to block regressions.