diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2020-01-13 13:56:04 +0100 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2020-01-14 13:24:55 +0000 |
commit | 3854b5892b1d820e0e7232c781a2bb3603539473 (patch) | |
tree | a2a53d34ae782deb5383b90ad7e3262dc1b40d70 /src/tools/bootstrap/CMakeLists.txt | |
parent | ba96b0cbd9aa56b7748679c4f2411e159666097c (diff) |
Add QT_TEST_RUNNING_IN_CTEST environment variable for test
When running tests with CMake's CTest, set the environment
QT_TEST_RUNNING_IN_CTEST to 1. This can be useful to deal with tests
that do not properly work when running from CTest.
For instance, the qmake test in this patch has one test that only works
when not run from CTest.
Change-Id: I01eea9131de69c18118a9ed9f96e9296d5ea20f1
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/tools/bootstrap/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions