Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23730

GTest application output not always read correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.12.1
    • Qt Creator 4.12.0-beta1
    • Test Integration
    • None
    • Linux/X11
    • 8806ae3bdf6a6233b2c4620566fa0414aef6daf9 (qt-creator/qt-creator/4.12)

    Description

      In the following example, the test output is not always properly parsed. As soon as the `qDebug()` is printed, nothing else is. (In the test results panel). If I run the application in the command line, I see this line printed in the beginning, When running by running all tests, it comes somewhere in the middle.

       main.cpp

       

      Output difference (The "Hello there" line comes somewhere else, and as soon as it is there, the rest of the output is not printed anymore):

      Attachments

        1. main.cpp
          0.8 kB
        2. main.cpp
          1.0 kB
        3. image-2020-03-20-15-39-58-449.png
          image-2020-03-20-15-39-58-449.png
          103 kB
        4. image-2020-03-18-10-36-35-619.png
          image-2020-03-18-10-36-35-619.png
          108 kB

        Issue Links

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

          Activity

            People

              cstenger Christian Stenger
              mvoorsluys Mario Voorsluys
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes