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" | |||||
) | ) | ||||
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 |