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

QtcProcess: tst_qtcprocess tests fail when running a compilation in background

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • Qt Creator 8.0.0
    • Qt Creator 8.0.0
    • All Other Issues
    • None
    • Linux/X11

    Description

      All the test are running much longer in this case (about 100 seconds, in contrary to when QProcessImpl is used - 20 seconds). Two tests are failing:

      FAIL! : tst_QtcProcess::runBlockingStdOut(Long timeout without end of line) Compared values are not the same
      Actual (process.result()): 4
      Expected (expectedResult) : 0
      Loc: [/home/jarek/dev/creator-master/tests/auto/utils/qtcprocess/tst_qtcprocess.cpp(1024)]

      FAIL! : tst_QtcProcess::crashAfterOneSecond() 'process.waitForFinished(2000)' returned FALSE. ()
      Loc: [/home/jarek/dev/creator-master/tests/auto/utils/qtcprocess/tst_qtcprocess.cpp(1364)]

      When run with QProcessImpl, all tests pass.

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            jkobus Jarek Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes