Details
-
Sub-task
-
Resolution: Done
-
Not Evaluated
-
None
-
qtbase 6729dfbe0ed52d1fd5e1722d28c584cdcdd64545
Qt configured as: ./configure -silent -no-pch -nokia-developer -no-qt3support -force-pkg-config -qpa -xcb -prefix $PWD/qtbase/_install -confirm-license
Ubuntu 10.04 x86 32-bit
-
fix XPASS on Windows 1cf39e26103936cba9d23711984de11f3da0d1f5 97378dc70e3d15dff015c9a16285fcada78375b1
Description
tst_qgraphicswidget autotest is unstable on Linux, qpa with xcb backend. Sometimes the test fails and sometimes not.
Running the initialShow2 testfunction in a loop, like this: while make check TESTARGS=initialShow2; do date; done 2>&1 | tee TESTLOG.txt, I was able to get a failure about 1 in 10 runs.
Sample failure:
./tst_qgraphicswidget initialShow2 Information of screen 346: width.........: 1920 height........: 1200 depth.........: 24 white pixel...: ffffff black pixel...: 0 Running window manager: KWin ********* Start testing of tst_QGraphicsWidget ********* Config: Using QTest library 5.0.0, Qt 5.0.0 PASS : tst_QGraphicsWidget::initTestCase() created regular window: 31457282 created regular window: 31457286 FAIL! : tst_QGraphicsWidget::initialShow2() Compared values are not the same Actual (widget->repaints): 3 Expected (expectedRepaintCount): 2 Loc: [tst_qgraphicswidget.cpp(3203)] PASS : tst_QGraphicsWidget::cleanupTestCase() Totals: 2 passed, 1 failed, 0 skipped ********* Finished testing of tst_QGraphicsWidget *********
Attachments
For Gerrit Dashboard: QTBUG-20778 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
2721,1 | test: mark tst_qgraphicswidget as insignificant on qpa, xcb | master | qt/qtbase | Status: MERGED | +2 | 0 |
23831,1 | Fix XPASS in QGraphicsWidget test on Ubuntu 11.10. | master | qt/qtbase | Status: MERGED | +2 | 0 |
55678,1 | Stabilize QGraphicsWidget test. | stable | qt/qtbase | Status: MERGED | +2 | 0 |
57073,1 | Remove XFAIL from tst_qgraphicswidget::initialShow2(). | dev | qt/qtbase | Status: MERGED | +2 | 0 |