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

Windows: QSharedPointer autotest fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 5.0.0
    • None
    • Windows 7, MSVC2010
    • 65a2613e3e4fd341c2be35cb4eaf03d0918c2661

    Description

      QSharedPointer autotest fails:

      QWARN  : tst_QSharedPointer::invalidConstructs(same-pointer) External code testing failed
      Code:
      Data *aData = new Data;
      QSharedPointer<Data> ptr1 = QSharedPointer<Data>(aData);
      QSharedPointer<Data> ptr2 = QSharedPointer<Data>(aData);
      
      
      FAIL!  : tst_QSharedPointer::invalidConstructs(same-pointer) Fail
      .\tst_qsharedpointer.cpp(1841) : failure location
      QWARN  : tst_QSharedPointer::invalidConstructs(re-creation) External code testing failed
      Code:
      Data *aData = new Data;
      QSharedPointer<Data> ptr1 = QSharedPointer<Data>(aData);ptr1 = QSharedPointer<Data>(aData);
      
      FAIL!  : tst_QSharedPointer::invalidConstructs(re-creation) Fail
      .\tst_qsharedpointer.cpp(1841) : failure location
      

      Remember to enable test in CI when it is fixed.

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              e0348803 Miikka Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes