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

cmake build does not provide QC test dependencies

    XMLWordPrintable

Details

    • All
    • 305ca7e4345da1fa558157d09a92a232653940a4 (qt-creator/qt-creator/4.14)

    Description

      for qmake based builds there's QTC_TEST_DEPENDS, for Qbs based builds there's a pluginTestDepends property, but there's nothing similar for cmake based builds

      this allows to specify dependencies for the runtime of the integrated plugin unit tests which are no hard dependency

      (compare e.g. running AutoTest or ClangTools plugin unit tests just by passing

      -test PluginName

      both are testing the plugin, but some tests fail due to not loading QbsProjectManager which is not a hard dependency for these, but they should get loaded when the tests get executed)

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-25024
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes