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

CTest integration gets stuck on previous kit/build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • Qt Creator 11.0.3
    • Qt Creator 10.0.2
    • Test Integration
    • None
    • macOS
    • 397cd1ba3 (11.0)

    Description

      Steps to reproduce:

      1. Enable AutoTest plugin
      2. Enable only CTest framework in Preferences->Testing
      3. Enable Automatically run: All (may not strictly be required)
      4. Open a CMake-based project that has unit tests
      5. Build with any kit (A), tests run automatically
      6. Switch to a different kit (B)
      7. Build again, tests run automatically

      Expected: CTest runs tests in B's build dir

      Actual: CTtest runs tests in A's build dir

      As you use more kits and builds, there is some strange pattern of a different previous kit/build used.

      If previous kits/builds are disabled/deleted, then eventually the current kit and build will be run.

      PS. Also note that when I switch from CTest to Google Test integration, the correct tests are run. Switching back to CTest again does not fix the problem.

       

      Attachments

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

        Activity

          People

            cstenger Christian Stenger
            jeremy.murphy Jeremy Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes