Fix scalable endpoint testing
Test was only enabled if MERCURY_TESTING_CORESIDENT was ON
Disable busy tests for scalable endpoints for now until next OFI release
@@ -194,9 +194,10 @@ macro(add_mercury_test_comm test_name comm protocol busy)
COMMAND $<TARGET_FILE:hg_test_${test_name}> ${cores_test_args}
)
endif()
+ endif()
# Scalable endpoint test
- if(MERCURY_TESTING_HAS_THREAD_POOL AND ${comm} STREQUAL "ofi")
+ if(MERCURY_TESTING_HAS_THREAD_POOL AND ${comm} STREQUAL "ofi" AND NOT ${busy})
set(cores_test_name ${full_test_name}_scalable)
set(cores_test_args ${test_args} -C 2)
add_test(NAME "mercury_${cores_test_name}"
@@ -205,7 +206,6 @@ macro(add_mercury_test_comm test_name comm protocol busy)
--client $<TARGET_FILE:hg_test_${test_name}> ${cores_test_args}
)
endif()
- endif()
endmacro()
function(add_mercury_test test_name)
