We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adc964d commit 6bc2f01Copy full SHA for 6bc2f01
cmake_utils/cmake/test/test_labels.cmake
@@ -52,7 +52,10 @@ macro(check_and_add_tests_label TEST_NAME TEST_LABEL_LIST LABEL)
52
53
if(${TEST_NAME} IN_LIST "${TEST_LABEL_LIST}")
54
message(STATUS "Setting label ${LABEL} to test ${TEST_NAME}")
55
- set_property(TEST ${TEST_NAME} PROPERTY LABELS ${LABEL})
+ # NOTE: set_property override other labels, it must append new label
56
+ get_property(CURRENT_LABELS TEST ${TEST_NAME} PROPERTY LABELS)
57
+ list(APPEND CURRENT_LABELS ${LABEL})
58
+ set_property(TEST ${TEST_NAME} PROPERTY LABELS ${CURRENT_LABELS})
59
endif()
60
61
endmacro()
0 commit comments