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

Autotest not working with CMake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.0.0-beta1
    • Qt Creator 3.6.1, Qt Creator 4.1.0-rc1
    • Test Integration
    • None
    • Windows desktop, Qt 5.4.2, Qt 5.6.0, CMake 3.5-rc2
    • cacc5bfb9be2b8cfd175ccb1fd6ab953b46b7772

    Description

      Autotest doesn't work for CMake projects.

      First, it checks for "#define QT_TEST_LIB 1" in the project parts, but official cmake scripts setup "#define QT_TEST_LIB".

      Easy to fix, now the plugin detects all tests, but fail to run them. No project configuration found, because completeBasicProjectInformation() check agains a pro file, which is not existing.

      Attachments

        1. CMakeTest.tbz
          1 kB
        2. CMakeTest.zip
          2 kB
        For Gerrit Dashboard: QTCREATORBUG-15813
        # Subject Branch Project Status CR V

        Activity

          People

            cstenger Christian Stenger
            zerocom Stefan Sommerfeld
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes