Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63053

Tests in tst_QQuickPaintedItem fail for software renderer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.10
    • None

    Description

      Steps to reproduce:

      1. Compile test qtdeclarative/tests/auto/quick/qquickpainteditem
      2. Run test with QT_QUICK_BACKEND=software ./tst_qquickpainteditem

      Expected outcome:

      • All tests pass

      Actual outcome:

      ********* Start testing of tst_QQuickPaintedItem *********
      Config: Using QtTest library 5.10.0, Qt 5.10.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 5.4.0 20160609)
      PASS   : tst_QQuickPaintedItem::initTestCase()
      PASS   : tst_QQuickPaintedItem::update()
      FAIL!  : tst_QQuickPaintedItem::opaquePainting() Compared values are not the same
         Actual   (item.paintNode->opaquePainting()): 0
         Expected (true)                            : 1
         Loc: [tst_qquickpainteditem.cpp(170)]
      FAIL!  : tst_QQuickPaintedItem::antialiasing() Compared values are not the same
         Actual   (item.paintNode->smoothPainting()): 0
         Expected (true)                            : 1
         Loc: [tst_qquickpainteditem.cpp(208)]
      FAIL!  : tst_QQuickPaintedItem::mipmap() Compared values are not the same
         Actual   (item.paintNode->mipmapping()): 0
         Expected (true)                        : 1
         Loc: [tst_qquickpainteditem.cpp(246)]
      FAIL!  : tst_QQuickPaintedItem::performanceHints() Compared values are not the same
         Actual   (item.paintNode->fastFBOResizing()): 0
         Expected (true)                             : 1
         Loc: [tst_qquickpainteditem.cpp(284)]
      PASS   : tst_QQuickPaintedItem::contentsSize()
      FAIL!  : tst_QQuickPaintedItem::contentScale() Compared doubles are not the same (fuzzy compare)
         Actual   (item.paintNode->contentsScale()): 8,48798e-314
         Expected (1.0)                            : 1
         Loc: [tst_qquickpainteditem.cpp(348)]
      FAIL!  : tst_QQuickPaintedItem::contentsBoundingRect() Compared values are not the same
         Actual   (item.paintNode->size()): QSize(253060055x32649)
         Expected (QSize(500, 500))       : QSize(500x500)
         Loc: [tst_qquickpainteditem.cpp(387)]
      FAIL!  : tst_QQuickPaintedItem::fillColor() Compared values are not the same
         Actual   (item.paintNode->fillColor()): #000000
         Expected (QColor(Qt::transparent))    : #000000
         Loc: [tst_qquickpainteditem.cpp(430)]
      PASS   : tst_QQuickPaintedItem::renderTarget()
      PASS   : tst_QQuickPaintedItem::cleanupTestCase()
      Totals: 5 passed, 7 failed, 0 skipped, 0 blacklisted, 781ms
      ********* Finished testing of tst_QQuickPaintedItem *********
      

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            sanurmen Sami Nurmenniemi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes