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

tst_QElapsedTimer::elapsed() failed on macOS 10.12

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P0: Blocker
    • None
    • 5.9.0 Alpha
    • Core: Date/Time
    • None
    • macOS 10.12
    • macOS

    Description

      https://codereview.qt-project.org/#/c/185813/

      /Users/qt/work/qt/qtbase/tests/auto/corelib/kernel/qelapsedtimer/target_wrapper.sh  ./tst_qelapsedtimer -o /Users/qt/work/testresults/tests/auto/corelib/kernel/qelapsedtimer473344083,xml -o -,txt
      ********* Start testing of tst_QElapsedTimer *********
      Config: Using QtTest library 5.9.0, Qt 5.9.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 8.0.0 (clang-800.0.42.1) (Apple))
      PASS   : tst_QElapsedTimer::initTestCase()
      QDEBUG : tst_QElapsedTimer::statics() Clock type is 3
      QDEBUG : tst_QElapsedTimer::statics() Said clock is monotonic
      QDEBUG : tst_QElapsedTimer::statics() Current time is 1516722
      PASS   : tst_QElapsedTimer::statics()
      PASS   : tst_QElapsedTimer::validity()
      QDEBUG : tst_QElapsedTimer::basics() value1: 1516722 t1: (1516722)
      QDEBUG : tst_QElapsedTimer::basics() value2: 1516722 t1: (1516722) elapsed: 0 nsecs: 28404
      PASS   : tst_QElapsedTimer::basics()
      FAIL!  : tst_QElapsedTimer::elapsed() 'elapsed < 5*minResolution' returned FALSE. ()
         Loc: [tst_qelapsedtimer.cpp(132)]
      PASS   : tst_QElapsedTimer::cleanupTestCase()
      Totals: 5 passed, 1 failed, 0 skipped, 0 blacklisted, 296ms
      ********* Finished testing of tst_QElapsedTimer *********
      make: *** [check] Error 1
      

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes