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

Test batching

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • None
    • None
    • None

    Description

      Add support for --batch-tests argument to the configure script. When provided, all tests will be merged into a single executable, due to long linking times/binary size on certain platforms, including WASM.

      When first such target is being processed, a new combined target for all of the future test sources is created under the name of 'test_batch'. CMake attempts to merge the parameters of each of the tests, and some basic checks are run for parameter differences that are impossible to reconcile.

      Parameterless run lists all of the available test cases. First parameter is interpreted as the test to run.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              mikolaj.boc Mikołaj Boc (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes