diff --git a/examples/c/CMakeLists.txt b/examples/c/CMakeLists.txt index 7dd51efd1a417e3b2cb792bf00dbf224e0c0f13a..6106826097f9e79cd1ce6fc5d8f99df9ba888c54 100644 --- a/examples/c/CMakeLists.txt +++ b/examples/c/CMakeLists.txt @@ -58,7 +58,7 @@ endforeach() if(SCORD_BUILD_TESTS) foreach(example IN LISTS examples_c) - add_test(${example}_c_test ${example} ofi+tcp://${SCORD_BIND_ADDRESS}:${SCORD_BIND_PORT}) + add_test(${example}_c_test ${example} ${SCORD_TRANSPORT_PROTOCOL}://${SCORD_BIND_ADDRESS}:${SCORD_BIND_PORT}) set_tests_properties(${example}_c_test PROPERTIES FIXTURES_REQUIRED scord_daemon) endforeach() diff --git a/examples/cxx/CMakeLists.txt b/examples/cxx/CMakeLists.txt index 1263a187d39925463ae15daa020616c34333cfb5..18bcaa91cfac242f0de224201a36eeb2c1f92de8 100644 --- a/examples/cxx/CMakeLists.txt +++ b/examples/cxx/CMakeLists.txt @@ -59,7 +59,7 @@ endforeach() if(SCORD_BUILD_TESTS) foreach(example IN LISTS examples_cxx) - add_test(${example}_cxx_test ${example} ofi+tcp://${SCORD_BIND_ADDRESS}:${SCORD_BIND_PORT}) + add_test(${example}_cxx_test ${example} ${SCORD_TRANSPORT_PROTOCOL}://${SCORD_BIND_ADDRESS}:${SCORD_BIND_PORT}) set_tests_properties(${example}_cxx_test PROPERTIES FIXTURES_REQUIRED scord_daemon) endforeach()