Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-21321 XCB/QPA support is not finished yet
  3. QTBUG-20778

tst_qgraphicswidget XFAILs on Windows and Ubuntu 10.04

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Not Evaluated
    • 5.2.0
    • Widgets: GraphicsView
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes