CMake: added labels to tests

This commit is contained in:
Benoit Blanchon
2021-04-25 11:38:19 +02:00
parent 43f0db45ad
commit 7be0c2c650
16 changed files with 77 additions and 1 deletions

View File

@ -18,7 +18,8 @@ macro(build_should_fail target)
)
set_tests_properties(${target}
PROPERTIES
WILL_FAIL TRUE
WILL_FAIL TRUE
LABELS "WillFail;Catch"
)
endmacro()

View File

@ -17,3 +17,8 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
endif()
add_test(IntegrationTests IntegrationTests)
set_tests_properties(IntegrationTests
PROPERTIES
LABELS "Catch"
)

View File

@ -20,3 +20,8 @@ add_executable(JsonArrayTests
)
add_test(JsonArray JsonArrayTests)
set_tests_properties(JsonArray
PROPERTIES
LABELS "Catch"
)

View File

@ -21,3 +21,8 @@ add_executable(JsonDeserializerTests
set_target_properties(JsonDeserializerTests PROPERTIES UNITY_BUILD OFF)
add_test(JsonDeserializer JsonDeserializerTests)
set_tests_properties(JsonDeserializer
PROPERTIES
LABELS "Catch"
)

View File

@ -22,3 +22,8 @@ add_executable(JsonDocumentTests
)
add_test(JsonDocument JsonDocumentTests)
set_tests_properties(JsonDocument
PROPERTIES
LABELS "Catch"
)

View File

@ -20,3 +20,8 @@ add_executable(JsonObjectTests
)
add_test(JsonObject JsonObjectTests)
set_tests_properties(JsonObject
PROPERTIES
LABELS "Catch"
)

View File

@ -15,3 +15,8 @@ add_executable(JsonSerializerTests
)
add_test(JsonSerializer JsonSerializerTests)
set_tests_properties(JsonSerializer
PROPERTIES
LABELS "Catch"
)

View File

@ -26,3 +26,8 @@ add_executable(JsonVariantTests
)
add_test(JsonVariant JsonVariantTests)
set_tests_properties(JsonVariant
PROPERTIES
LABELS "Catch"
)

View File

@ -11,3 +11,8 @@ add_executable(MemoryPoolTests
)
add_test(MemoryPool MemoryPoolTests)
set_tests_properties(MemoryPool
PROPERTIES
LABELS "Catch"
)

View File

@ -21,3 +21,8 @@ add_executable(MiscTests
set_target_properties(MiscTests PROPERTIES UNITY_BUILD OFF)
add_test(Misc MiscTests)
set_tests_properties(Misc
PROPERTIES
LABELS "Catch"
)

View File

@ -29,3 +29,8 @@ add_executable(MixedConfigurationTests
set_target_properties(MixedConfigurationTests PROPERTIES UNITY_BUILD OFF)
add_test(MixedConfiguration MixedConfigurationTests)
set_tests_properties(MixedConfiguration
PROPERTIES
LABELS "Catch"
)

View File

@ -17,3 +17,8 @@ add_executable(MsgPackDeserializerTests
)
add_test(MsgPackDeserializer MsgPackDeserializerTests)
set_tests_properties(MsgPackDeserializer
PROPERTIES
LABELS "Catch"
)

View File

@ -12,3 +12,8 @@ add_executable(MsgPackSerializerTests
)
add_test(MsgPackSerializer MsgPackSerializerTests)
set_tests_properties(MsgPackSerializer
PROPERTIES
LABELS "Catch"
)

View File

@ -11,3 +11,8 @@ add_executable(NumbersTests
add_test(Numbers NumbersTests)
set_tests_properties(Numbers
PROPERTIES
LABELS "Catch"
)

View File

@ -11,3 +11,8 @@ add_executable(TextFormatterTests
set_target_properties(TextFormatterTests PROPERTIES UNITY_BUILD OFF)
add_test(TextFormatter TextFormatterTests)
set_tests_properties(TextFormatter
PROPERTIES
LABELS "Catch"
)