Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88053

Implement TESTRUNNER and TESTARGS feature for Qt autotests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:

      Description

      At https://doc.qt.io/qt-5/qmake-common-projects.html#building-a-testcase there's a documented way to pass additional test arguments via Makefile variables TESTRUNNER and TESTARGS.

      That's currently missing in the CMake port.

      We could perhaps implement something similar via environment variables instead, because ninja doesn't have Ninja variables afaik.

      This also implies that we need to generate a wrapper shell script that needs to be used to run the tests. Currently we execute them directly.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              semlanik Alexey Edelev
              Reporter:
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes