XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • Qt Creator 4.15.0-beta2
    • Test Integration
    • None
    • Ubuntu 20

    Description

      CTest support works great in the beta version of qtcreator, however there are some minor issues when the CMakeLists modifying the tests is changed during the session cstenger, see also https://bugreports.qt.io/browse/QTCREATORBUG-23332.

      I saw two effects:

      • On the left pane, I change from OpenDocuments to Tests. There I select several CTests and click on "Run Selected Tests". After that, I go to CMakeLists.txt and add some more .cpp files and CTest targets. Running CMake again makes those targets appear in the Project list (top left pane), but the list of CTests (bottom left pane) does not get updated. Side note: I think it does get correctly updated if "Run Selected Tests" was not run before.
      • I think there is some cache issue, when I restart QtCreator, the new tests appear on the left pane, they are selected. However, when I run selected tests, only the ones that were selected in the previous session are run. This is clearly shown in the attachment, many more than 19 tests are selected, but only the "veteran" ones are run. I tried to rebuild project, as well as clicking on Run CMake, but same effect.

      Attachments

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

        Activity

          People

            cstenger Christian Stenger
            fmercury Ferdy Mercury
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes