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

[autotests] tst_qtjson fails on BlackBerry 10 and stock QNX

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.3.0
    • Core: Other
    • None
    • BlackBerry 10
      BlackBerry Native SDK 10.2
    • QNX

    Description

      tst_QtJson
      Testing tst_QtJson
      FAIL!  : tst_QtJson::testNumbers_2() 'floatValues[power] == floatValues_1[power]' returned FALSE. (floatValues[970] != floatValues_1[970])
         Loc: [tst_qtjson.cpp(363)]
      FAIL!  : tst_QtJson::toJsonLargeNumericValues() Compared values are not the same
         Actual   (json): 7B 0A 20 20 20 20 22 41 72 72 61 79 22 3A 20 5B 0A 20 20 20 20 20 20 20 20 31 2E 32 33 34 35 36 37 2C 0A 20 20 20 20 20 20 20 20 31 2E 37 39 37 36 39 ...
         Expected (expected): 7B 0A 20 20 20 20 22 41 72 72 61 79 22 3A 20 5B 0A 20 20 20 20 20 20 20 20 31 2E 32 33 34 35 36 37 2C 0A 20 20 20 20 20 20 20 20 31 2E 37 39 37 36 39 ...
         Loc: [tst_qtjson.cpp(1302)]
      FAIL!  : tst_QtJson::parseNumbers() '!doc.isEmpty()' returned FALSE. ()
         Loc: [tst_qtjson.cpp(1708)]
      Totals: 55 passed, 3 failed, 0 skipped
      

      Comment from Bernd:

      "There are several tests that fail, because denormalized numbers are not supported on QNX (like testNumbers_2 and toJsonSillyNumericValues), so we should try to find a general solution. Hopefully "flush to zero" for denormalized numbers will be disabled on QNX soon."

      Attachments

        For Gerrit Dashboard: QTBUG-37066
        # Subject Branch Project Status CR V

        Activity

          People

            bweimer Bernd Weimer
            seahumad [BB] Sergio Ahumada (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes