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

Implement TESTRUNNER and TESTARGS feature for Qt autotests

    XMLWordPrintable

Details

    • f19266bd02a01d4b7b277ea769c4c17727b1e661 (qt/qtbase/dev) 622efb8ecc2e7f25ddf7d6a54b8a3d3ac650916e (qt/qtbase/6.0) 4a9ed410750c8b111d33c52544388904244ec6e5 (qt/qtbase/dev) 15abeed11687dc19afdc73e7c54c0f87da4286ba (qt/qtbase/6.0)

    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

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

              Dates

                Created:
                Updated:
                Resolved: