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

Tests in tst_qquickimageparticle 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/particles/qquickimageparticle
      2. Run test with QT_QUICK_BACKEND=software ./tst_qquickimageparticle

      Expected outcome:

      • All tests pass

      Actual outcome:

      ********* Start testing of tst_qquickimageparticle *********
      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_qquickimageparticle::initTestCase()
      QDEBUG : tst_qquickimageparticle::test_basic() Registering Emitter QQuickParticleEmitter(0x16ee1d0, parent=0x16ed5b0, geometry=0,0 0x0) to QQuickParticleSystem(0x16ed5b0, name="system", parent=0x16ed370, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_basic() Registering Painter QQuickImageParticle(0x16ed9c0, parent=0x16ed5b0, geometry=0,0 0x0) to QQuickParticleSystem(0x16ed5b0, name="system", parent=0x16ed370, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_basic() Particle system emitters changed. New particle count:  500 in 1 groups.
      PASS   : tst_qquickimageparticle::test_basic()
      QDEBUG : tst_qquickimageparticle::test_colored() Registering Emitter QQuickParticleEmitter(0x17307f0, parent=0x172fbd0, geometry=0,0 0x0) to QQuickParticleSystem(0x172fbd0, name="system", parent=0x172f990, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_colored() Registering Painter QQuickImageParticle(0x172ffe0, parent=0x172fbd0, geometry=0,0 0x0) to QQuickParticleSystem(0x172fbd0, name="system", parent=0x172f990, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_colored() Particle system emitters changed. New particle count:  500 in 1 groups.
      FAIL!  : tst_qquickimageparticle::test_colored() Compared values are not the same
         Actual   (d->color.r): 255
         Expected ((uchar)003): 3
         Loc: [tst_qquickimageparticle.cpp(133)]
      QDEBUG : tst_qquickimageparticle::test_colorVariance() Registering Emitter QQuickParticleEmitter(0x17c07c0, parent=0x17bfbe0, geometry=0,0 0x0) to QQuickParticleSystem(0x17bfbe0, name="system", parent=0x17bf980, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_colorVariance() Registering Painter QQuickImageParticle(0x17bfff0, parent=0x17bfbe0, geometry=0,0 0x0) to QQuickParticleSystem(0x17bfbe0, name="system", parent=0x17bf980, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_colorVariance() Particle system emitters changed. New particle count:  500 in 1 groups.
      FAIL!  : tst_qquickimageparticle::test_colorVariance() 'd->color.r < 128' returned FALSE. ()
         Loc: [tst_qquickimageparticle.cpp(177)]
      QDEBUG : tst_qquickimageparticle::test_deformed() Registering Emitter QQuickParticleEmitter(0x185da40, parent=0x185cb70, geometry=0,0 0x0) to QQuickParticleSystem(0x185cb70, name="system", parent=0x185c910, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_deformed() Registering Painter QQuickImageParticle(0x185cf80, parent=0x185cb70, geometry=0,0 0x0) to QQuickParticleSystem(0x185cb70, name="system", parent=0x185c910, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_deformed() Particle system emitters changed. New particle count:  500 in 1 groups.
      FAIL!  : tst_qquickimageparticle::test_deformed() Compared floats are not the same (fuzzy compare)
         Actual   (d->xx): 1
         Expected (0.5f) : 0,5
         Loc: [tst_qquickimageparticle.cpp(226)]
      QDEBUG : tst_qquickimageparticle::test_tabled() Registering Emitter QQuickParticleEmitter(0x18fae90, parent=0x18f9e50, geometry=0,0 0x0) to QQuickParticleSystem(0x18f9e50, name="system", parent=0x18f9bf0, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_tabled() Registering Painter QQuickImageParticle(0x18fa260, parent=0x18f9e50, geometry=0,0 0x0) to QQuickParticleSystem(0x18f9e50, name="system", parent=0x18f9bf0, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_tabled() Particle system emitters changed. New particle count:  500 in 1 groups.
      PASS   : tst_qquickimageparticle::test_tabled()
      QWARN  : tst_qquickimageparticle::test_sprite() Sprite::frames has been renamed Sprite::frameCount
      QDEBUG : tst_qquickimageparticle::test_sprite() Registering Emitter QQuickParticleEmitter(0x1903e40, parent=0x1902f70, geometry=0,0 0x0) to QQuickParticleSystem(0x1902f70, name="system", parent=0x1902d10, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_sprite() Registering Painter QQuickImageParticle(0x1903380, parent=0x1902f70, geometry=0,0 0x0) to QQuickParticleSystem(0x1902f70, name="system", parent=0x1902d10, geometry=0,0 0x0)
      QDEBUG : tst_qquickimageparticle::test_sprite() Particle system emitters changed. New particle count:  500 in 1 groups.
      FAIL!  : tst_qquickimageparticle::test_sprite() 'myFuzzyCompare(d->frameDuration, 120.f)' returned FALSE. ()
         Loc: [tst_qquickimageparticle.cpp(322)]
      PASS   : tst_qquickimageparticle::cleanupTestCase()
      Totals: 4 passed, 4 failed, 0 skipped, 0 blacklisted, 4446ms
      ********* Finished testing of tst_qquickimageparticle *********
      
      

      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