2021-03-29 17:14:01 +02:00
|
|
|
# ArduinoJson - https://arduinojson.org
|
2025-02-24 15:18:26 +01:00
|
|
|
# Copyright © 2014-2025, Benoit BLANCHON
|
2020-05-12 18:11:55 +02:00
|
|
|
# MIT License
|
|
|
|
|
|
2024-10-23 15:47:59 +02:00
|
|
|
macro(add_failing_build source_file)
|
|
|
|
|
get_filename_component(target ${source_file} NAME_WE)
|
|
|
|
|
|
|
|
|
|
add_executable(${target} ${source_file})
|
|
|
|
|
|
2020-05-12 18:11:55 +02:00
|
|
|
set_target_properties(${target}
|
|
|
|
|
PROPERTIES
|
2023-02-09 10:00:38 +01:00
|
|
|
EXCLUDE_FROM_ALL TRUE
|
|
|
|
|
EXCLUDE_FROM_DEFAULT_BUILD TRUE
|
2020-05-12 18:11:55 +02:00
|
|
|
)
|
|
|
|
|
add_test(
|
2023-02-09 10:00:38 +01:00
|
|
|
NAME ${target}
|
|
|
|
|
COMMAND ${CMAKE_COMMAND} --build . --target ${target} --config $<CONFIGURATION>
|
|
|
|
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
2020-05-12 18:11:55 +02:00
|
|
|
)
|
2023-02-09 10:00:38 +01:00
|
|
|
set_tests_properties(${target}
|
2020-05-12 18:11:55 +02:00
|
|
|
PROPERTIES
|
2023-02-09 10:00:38 +01:00
|
|
|
WILL_FAIL TRUE
|
2024-10-23 15:04:52 +02:00
|
|
|
LABELS "WillFail"
|
2020-05-12 18:11:55 +02:00
|
|
|
)
|
|
|
|
|
endmacro()
|
|
|
|
|
|
2024-10-23 15:47:59 +02:00
|
|
|
add_failing_build(Issue978.cpp)
|
|
|
|
|
add_failing_build(read_long_long.cpp)
|
|
|
|
|
add_failing_build(write_long_long.cpp)
|
|
|
|
|
add_failing_build(variant_as_char.cpp)
|
|
|
|
|
add_failing_build(assign_char.cpp)
|
|
|
|
|
add_failing_build(deserialize_object.cpp)
|