CMake: qt_internal_add_test - add BLACKLIST files to IDE projects
Tests can be blacklisted via BLACKLIST files. This patch adds these files to the generated IDE projects automatically when available. Pick-to: 6.7 Change-Id: Icef2c397ada823e7b1c380dbb224694f059891ff Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
bd2dc0c3ed
commit
191dbbdea7
@ -584,6 +584,11 @@ function(qt_internal_add_test name)
|
||||
set_target_properties(${name} PROPERTIES _qt_is_manual_test ${arg_MANUAL})
|
||||
endif()
|
||||
|
||||
set(blacklist_file "${CMAKE_CURRENT_SOURCE_DIR}/BLACKLIST")
|
||||
if(EXISTS ${blacklist_file})
|
||||
_qt_internal_expose_source_file_to_ide("${name}" ${blacklist_file})
|
||||
endif()
|
||||
|
||||
foreach(path IN LISTS arg_QML_IMPORTPATH)
|
||||
list(APPEND extra_test_args "-import" "${path}")
|
||||
endforeach()
|
||||
|
Loading…
x
Reference in New Issue
Block a user