Commit 95c13f6c authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Merge branch...

Merge branch '55-use-scord_transport_protocol-in-tests-instead-of-hardcoded-ofi-tcp-string' into 'main'

Resolve "Use `SCORD_TRANSPORT_PROTOCOL` in tests instead of hardcoded `ofi+tcp` string"

Closes #55

See merge request !39
parents 96be6fed edbf1eb3
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()
+1 −1
Original line number Diff line number Diff line
@@ -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()