diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2021-03-25 11:10:47 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2021-04-07 17:56:57 +0200 |
commit | cbdce59cd24861210a01fa9f319607b3a538ebbb (patch) | |
tree | 4b213681f8e9c371d1088d6c910941b7b9cb4b41 /src/gui | |
parent | 89a0ed100977a86f12ce0837b4d7787b88f09922 (diff) |
Add the SIMULATE_IN_SOURCE argument to _qt_internal_test_expect_pass
test_QFINDTESTDATA builds the project in the source tree, this is
necessary because the test requires relative paths to the source file
names. This function could be useful for other tests, so it makes sense
to extend the _qt_internal_test_expect_pass/fail macros to support
build in the source tree.
Note that, the SIMULATE_IN_SOURCE argument doesn't build the test in
the existing source tree, but copies source files to the build tree
first to do not litter the source directory.
Change-Id: I16e790d74be2a0c5ca0593e0f88580dbe09882b9
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions