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. image-2020-03-18-10-36-35-619.png
          image-2020-03-18-10-36-35-619.png
          108 kB
        2. image-2020-03-20-15-39-58-449.png
          image-2020-03-20-15-39-58-449.png
          103 kB
        3. main.cpp
          1.0 kB
        4. main.cpp
          0.8 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: