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

[CMakeProjectManager] full ctest support

XMLWordPrintable

    • Linux/X11

      (following issue QTCREATORBUG-23312)

      Hi,

      A typical cmake project contains all sort of tests, incl. non pure c++ tests such as python scripts, unittest, etc.

      It is totally fine to add them as ctest (add_test in cmake) but unfortunately they does not appear in QtCreator.
      Right now, you don't even know they exist from inside QtCreator.

      QtCreator is only displaying googletest/qttest/quicktest/boosttest.

      Would it be possible to see/filter/run any ctest?

      Even if their results cannot be parsed in the "Test Results" console. Maybe it would be possible to also do so based on cmake macros such as CTEST_CUSTOM_ERROR_MATCH / CTEST_CUSTOM_WARNING_MATCH

      https://gitlab.kitware.com/cmake/community/wikis/doc/ctest/Testing-With-CTest#customizing-ctest

      Thanks!

        1. image-2021-05-20-00-17-48-360.png
          146 kB
          Ferdy Mercury
        2. image-2021-05-20-00-28-39-335.png
          38 kB
          Ferdy Mercury
        3. image-2021-05-20-00-31-32-241.png
          76 kB
          Ferdy Mercury
        4. screenshot-1.png
          48 kB
          Ferdy Mercury
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cstenger Christian Stenger
            mattn mattn
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes