Changeset View
Changeset View
Standalone View
Standalone View
cmake/modules/TestSuite.cmake
Show First 20 Lines • Show All 185 Lines • ▼ Show 20 Lines | foreach(_test_source ${ARG_TESTS}) | ||||
add_test_runner( | add_test_runner( | ||||
${SUITE} | ${SUITE} | ||||
${_test_name} | ${_test_name} | ||||
${NAME} | ${NAME} | ||||
JUNIT | JUNIT | ||||
"--run_test=${_test_name}" | "--run_test=${_test_name}" | ||||
"--logger=${HRF_LOGGER}${JUNIT_LOGGER}" | "--logger=${HRF_LOGGER}${JUNIT_LOGGER}" | ||||
"--catch_system_errors=no" | |||||
deadalnix: If this is static and never changes, you should push it down the stack instead of adding it to… | |||||
jasonbcoxAuthorUnsubmitted Done Inline ActionsI agree. I looked into this and it wasn't immediately obvious how to do it without refactoring a lot of code. I will chat with Fabien about it. jasonbcox: I agree. I looked into this and it wasn't immediately obvious how to do it without refactoring… | |||||
) | ) | ||||
set_property( | set_property( | ||||
TARGET ${SUITE_TARGET} | TARGET ${SUITE_TARGET} | ||||
APPEND PROPERTY UNIT_TESTS ${_test_name} | APPEND PROPERTY UNIT_TESTS ${_test_name} | ||||
) | ) | ||||
endforeach() | endforeach() | ||||
# We don't want to add a dependency to the host system boost during cross | # We don't want to add a dependency to the host system boost during cross | ||||
Show All 24 Lines |
If this is static and never changes, you should push it down the stack instead of adding it to every callsites.