diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2020-03-04 13:44:24 +0100 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2020-03-06 12:32:48 +0100 |
commit | 8ffb9053ad300b1fc00b2dd4e808c99d03a3d7a4 (patch) | |
tree | 31ad95ba45cfe0abb1237eebbf7cc6b29f92da9b /header.MIT | |
parent | 8bdbb7f2267516905531f719902168c036329646 (diff) |
Handle configure.json library tests
This patch updates configurejson2cmake.py to generate compile tests for
library entries. The test also support the inherit keyword, which is
currently limited to one level of inheritance.
LibraryMapping has been extended with a test_library_overwrite as a
means to overwrite the mapped library during a compile test. Certain
tests such as openssl_headers form src/network are mapped with *_nolink
libraries which do not exist when the test is run. Failing to do so will
cause the test to run as it is skipped when the library target isn't
found.
To avoid redundant checks, the library tests need to be opt in by
setting run_library_test to True on an instance of LibraryMapping.
Change-Id: I607b24eda389fa67afad301c616e31bb7ab38d20
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'header.MIT')
0 files changed, 0 insertions, 0 deletions