fix(examples): drop the empty transport suffix from the test name

- A NO_TRANSPORT example is now the test Example.<name>
- The test script no longer gets an empty transport argument

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-11-09 22:26:58 +00:00
committed by Dennis Klein
parent 9447556d7c
commit 201d784ee4

View File

@@ -123,8 +123,8 @@ function(add_example)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/${test_script}.in" "${CMAKE_CURRENT_BINARY_DIR}/${test_script}")
if(ARG_NO_TRANSPORT)
set(test "${testsuite}.${name}.${transport}")
add_test(NAME ${test} COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${test_script} ${transport})
set(test "${testsuite}.${name}")
add_test(NAME ${test} COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${test_script})
set_tests_properties(${test} PROPERTIES TIMEOUT "30")
if(env_mods)
set_tests_properties(${test} PROPERTIES ENVIRONMENT_MODIFICATION "${env_mods}")