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

QImage test failures on sparc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.13.2
    • Image formats
    • Linux/Other display system

    Description

      This is on Gentoo/Sparc, so my initial suspect is an endianess issue. Full build log on request.

      PASS   : tst_QImage::rotate(270 RGBA64pm)
      PASS   : tst_QImage::rotate(270 Grayscale16)
      PASS   : tst_QImage::copy()
      FAIL!  : tst_QImage::load() '!dest.isNull()' returned FALSE. ()
         Loc: [tst_qimage.cpp(1228)]
      FAIL!  : tst_QImage::loadFromData() '!original.isNull()' returned FALSE. ()
         Loc: [tst_qimage.cpp(1240)]
      FAIL!  : tst_QImage::loadFromDataStream() '!original.isNull()' returned FALSE. ()
         Loc: [tst_qimage.cpp(1266)]
      PASS   : tst_QImage::setPixel(ARGB32 red)
      PASS   : tst_QImage::setPixel(ARGB32 green)
      
      PASS   : tst_QImage::invertPixelsRGB(RGBx64)
      PASS   : tst_QImage::invertPixelsRGB(RGBA64)
      PASS   : tst_QImage::invertPixelsRGB(RGBA64pm)
      FAIL!  : tst_QImage::exifOrientation(Orientation 1, Intel format) Compared values are not the same
         Actual   (img.dotsPerMeterX()): 0
         Expected (dpmx)               : 39
         Loc: [tst_qimage.cpp(3087)]
      FAIL!  : tst_QImage::exifOrientation(Orientation 2, Intel format) Compared values are not the same
         Actual   (imageReader.transformation()): 0
         Expected (orientation)                 : 1
         Loc: [tst_qimage.cpp(3085)]
      FAIL!  : tst_QImage::exifOrientation(Orientation 3, Intel format) Compared values are not the same
         Actual   (imageReader.transformation()): 0
         Expected (orientation)                 : 3
         Loc: [tst_qimage.cpp(3085)]
      FAIL!  : tst_QImage::exifOrientation(Orientation 4, Intel format) Compared values are not the same
         Actual   (imageReader.transformation()): 0
         Expected (orientation)                 : 2
         Loc: [tst_qimage.cpp(3085)]
      FAIL!  : tst_QImage::exifOrientation(Orientation 5, Intel format) Compared values are not the same
         Actual   (imageReader.transformation()): 0
         Expected (orientation)                 : 6
         Loc: [tst_qimage.cpp(3085)]
      FAIL!  : tst_QImage::exifOrientation(Orientation 6, Intel format) Compared values are not the same
         Actual   (imageReader.transformation()): 0
         Expected (orientation)                 : 4
         Loc: [tst_qimage.cpp(3085)]
      FAIL!  : tst_QImage::exifOrientation(Orientation 6, Motorola format) Compared values are not the same
         Actual   (imageReader.transformation()): 0
         Expected (orientation)                 : 4
         Loc: [tst_qimage.cpp(3085)]
      FAIL!  : tst_QImage::exifOrientation(Orientation 7, Intel format) Compared values are not the same
         Actual   (imageReader.transformation()): 0
         Expected (orientation)                 : 5
         Loc: [tst_qimage.cpp(3085)]
      FAIL!  : tst_QImage::exifOrientation(Orientation 8, Intel format) Compared values are not the same
         Actual   (imageReader.transformation()): 0
         Expected (orientation)                 : 7
         Loc: [tst_qimage.cpp(3085)]
      FAIL!  : tst_QImage::exif_QTBUG45865() Compared values are not the same
         Actual   (image.size()): QSize(0x0)
         Expected (QSize(5, 8)) : QSize(5x8)
         Loc: [tst_qimage.cpp(3111)]
      FAIL!  : tst_QImage::exifInvalidData(QTBUG-46870) 'image.load(m_prefix + "jpeg_exif_invalid_data_" + QTest::currentDataTag() + ".jpg")' returned FALSE. ()
         Loc: [tst_qimage.cpp(3127)]
      FAIL!  : tst_QImage::exifInvalidData(back_pointers) 'image.load(m_prefix + "jpeg_exif_invalid_data_" + QTest::currentDataTag() + ".jpg")' returned FALSE. ()
         Loc: [tst_qimage.cpp(3127)]
      FAIL!  : tst_QImage::exifInvalidData(past_end) 'image.load(m_prefix + "jpeg_exif_invalid_data_" + QTest::currentDataTag() + ".jpg")' returned FALSE. ()
         Loc: [tst_qimage.cpp(3127)]
      FAIL!  : tst_QImage::exifInvalidData(too_many_ifds) 'image.load(m_prefix + "jpeg_exif_invalid_data_" + QTest::currentDataTag() + ".jpg")' returned FALSE. ()
         Loc: [tst_qimage.cpp(3127)]
      FAIL!  : tst_QImage::exifInvalidData(too_many_tags) 'image.load(m_prefix + "jpeg_exif_invalid_data_" + QTest::currentDataTag() + ".jpg")' returned FALSE. ()
         Loc: [tst_qimage.cpp(3127)]
      FAIL!  : tst_QImage::exifReadComments() 'image.load(m_prefix + "jpeg_exif_utf8_comment.jpg")' returned FALSE. ()
         Loc: [tst_qimage.cpp(3134)]
      PASS   : tst_QImage::cleanupFunctions()
      PASS   : tst_QImage::devicePixelRatio()
      

      Attachments

        Activity

          People

            vgt Eirik Aavitsland
            Dakon Rolf Eike Beer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: