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

Can't use manual tests from Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • Qt Creator 4.15.0
    • None
    • 0a1256a52d8c6c1b85a10f7dc94dfc34e3540040 (qt/tqtc-qtbase/6.2)

    Description

      I ran

      python3 ~/dev/qt-dev/qtbase/util/cmake/run_pro2cmake.py tests/manual/ 
      

      and it generated this:

      https://codereview.qt-project.org/c/qt/qtquickcontrols2/+/336377

      When I open qtquickcontrols2/CMakeLists.txt in Creator, the manual tests don't show up in the project tree.

      I'm using a per-repo build, not a top-level build.

      When I open an individual test, I get this error message:

      /home/mitch/dev/qt-dev/qtquickcontrols2/tests/manual/testbench/CMakeLists.txt:7: error: Unknown CMake command "qt_internal_add_manual_test".
      

      Configuring the test with qt-cmake-standalone-test from the command line is a workaround:

      mitch@mitch-ubuntu-20:~/dev/qt-dev-debug/qtquickcontrols2/tests/manual/testbench$ ~/dev/qt-dev-debug/qtbase/bin/qt-cmake-standalone-test ~/dev/qt-dev/qtquickcontrols2/tests/manual/testbench
      

      Attachments

        Issue Links

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

          Activity

            People

              cadam Cristian Adam
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: