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

creator doesn't see CATCH2 tests if CATCH_CONFIG_PREFIX_ALL is defined

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      924806e10b (qt-creator/qt-creator/8.0) 924806e10b (qt-creator/qt-creator/master)

      Description

      I'm using Catch2 together with PyTorch (C++ version). PyTorch defines a CHECK macro, which is also used by Catch2. Therefore I have to define CATCH_CONFIG_PREFIX_ALL, which prefixes all Catch2 macros with CATCH_. However, after updating the test cases, they are no longer seen by the test integration. I don't see them in the test pane on the left, and it's not possible to run particular tests (even after they show on the test result page).

        Attachments

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

          Activity

            People

            Assignee:
            cstenger Christian Stenger
            Reporter:
            adamce Adam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes