From edbf1eb3d2f4f0ca05f43615476882068fa28faa Mon Sep 17 00:00:00 2001 From: Alberto Miranda Date: Mon, 12 Sep 2022 15:58:03 +0200 Subject: [PATCH] Replace `ofi+tcp` with SCORD_TRANSPORT_PROTOCOL in tests --- examples/c/CMakeLists.txt | 2 +- examples/cxx/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/c/CMakeLists.txt b/examples/c/CMakeLists.txt index 7dd51efd..61068260 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 1263a187..18bcaa91 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() -- GitLab