Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0
-
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
- is required for
-
QTBUG-88816 Export test results for consumption by Coin's test result parser
- Closed
For Gerrit Dashboard: QTBUG-88053 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
324363,16 | CMake: Add handling of TESTRUNNER and TESTARGS by Qt tests | dev | qt/qtbase | Status: MERGED | +2 | 0 |
325583,2 | CMake: Add handling of TESTRUNNER and TESTARGS by Qt tests | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |
325854,6 | CMake: Force crosscompiling_emulator to empty string if not found | dev | qt/qtbase | Status: MERGED | +2 | 0 |
325895,2 | CMake: Force crosscompiling_emulator to empty string if not found | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |
326104,6 | CMake: Use test wrapper to run android tests | dev | qt/qtbase | Status: MERGED | +2 | 0 |
326617,4 | CMake: Use test wrapper to run android tests | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |