Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1804

Test failure on big endian archs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 6.2.2
    • PySide
    • None
    • Linux/X11
    • 0cfddaa56f (pyside/pyside-setup/dev) 6843f7fe3d (pyside/pyside-setup/6.2) 6843f7fe3d (pyside/tqtc-pyside-setup/6.2) 59397d2783 (pyside/tqtc-pyside-setup/5.15) 0cfddaa56f (pyside/tqtc-pyside-setup/tqtc/dev) 6843f7fe3d (pyside/pyside-setup/6.2.4)

    Description

      I just noticed today that one of the pyside6 test always failed on big endian archs (ppc64 and s390x):

       

       

      [ 6191s] 124/461 Test #123: QtCore_qbytearray_test ..........................***Failed 1.90 sec
      [ 6191s] .........FF............
      [ 6191s] ======================================================================
      [ 6191s] FAIL: testSliceAssignmentByteArray (__main__.QByteArraySliceAssignment)
      [ 6191s] ----------------------------------------------------------------------
      [ 6191s] Traceback (most recent call last):
      [ 6191s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.2.2/sources/pyside6/tests/QtCore/qbytearray_test.py", line 272, in testSliceAssignmentByteArray
      [ 6191s] self.assertEqual(b, bytes('012CBA6789', "UTF8"))
      [ 6191s] AssertionError: PySide6.QtCore.QByteArray(b'0126789') != b'012CBA6789'
      [ 6191s] 
      [ 6191s] ======================================================================
      [ 6191s] FAIL: testSliceAssignmentBytes (__main__.QByteArraySliceAssignment)
      [ 6191s] ----------------------------------------------------------------------
      [ 6191s] Traceback (most recent call last):
      [ 6191s] File "/home/abuild/rpmbuild/BUILD/pyside-setup-opensource-src-6.2.2/sources/pyside6/tests/QtCore/qbytearray_test.py", line 221, in testSliceAssignmentBytes
      [ 6191s] self.assertEqual(b, bytes('012CBA6789', "UTF8"))
      [ 6191s] AssertionError: PySide6.QtCore.QByteArray(b'0126789') != b'012CBA6789'
      [ 6191s] 
      [ 6191s] ----------------------------------------------------------------------
      [ 6191s] Ran 23 tests in 0.243s
      [ 6191s] 
      [ 6191s] FAILED (failures=2)
       
      

       

      Attachments

        For Gerrit Dashboard: PYSIDE-1804
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            cgiboudeaux Christophe Marin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: