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

[autotests] tst_qtjson fails on BlackBerry 10 and stock QNX

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Won't Do
    • Affects Version/s: 5.3.0
    • Fix Version/s: None
    • Component/s: Core: Other
    • Labels:
      None
    • Environment:
      BlackBerry 10
      BlackBerry Native SDK 10.2
    • Platform/s:
      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

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

          Activity

            People

            Assignee:
            bweimer Bernd Weimer
            Reporter:
            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