tests: add placeholder CTest entries for Lts/DDS during migration

This commit is contained in:
torsten committed 2026-07-17 17:04:55 +02:00
1 parent adf548cb06
commit 372d50acec
2 files changed
+25

No files matched your search

@@ -0,0 +1,20 @@
# Placeholder CTest entries for Lts/DDS during migration.
# If real test executables are not built (missing internal codegen/RTI targets),
# create harmless placeholder tests so the test suite reflects migration status.
if(BUILD_TESTING)
include(CTest)
if(NOT TARGET ddsGenericDataTests)
add_test(NAME ddsGenericDataTests_placeholder COMMAND ${CMAKE_COMMAND} -E echo "[placeholder] ddsGenericDataTests not built")
endif()
if(NOT TARGET ddsDataTopicTests)
add_test(NAME ddsDataTopicTests_placeholder COMMAND ${CMAKE_COMMAND} -E echo "[placeholder] ddsDataTopicTests not built")
endif()
if(NOT TARGET ddsFunctionTopicTests)
add_test(NAME ddsFunctionTopicTests_placeholder COMMAND ${CMAKE_COMMAND} -E echo "[placeholder] ddsFunctionTopicTests not built")
endif()
endif()