configurejson2cmake: Generate label for out-of-line tests
Change-Id: Iaaf8d2f19269043dfad34d4ec32ec8163e9616e4 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
6470c3e770
commit
1d5e8996b0
@ -523,6 +523,7 @@ def parseTest(ctx, test, data, cm_fh):
|
||||
f"""
|
||||
if(EXISTS "${{CMAKE_CURRENT_SOURCE_DIR}}/{ctx['test_dir']}/{data['test']}/CMakeLists.txt")
|
||||
qt_config_compile_test("{data['test']}"
|
||||
LABEL "{data['label']}"
|
||||
PROJECT_PATH "${{CMAKE_CURRENT_SOURCE_DIR}}/{ctx['test_dir']}/{data['test']}")
|
||||
endif()
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user