Merge topic 'tests-add_test-NAME'
902c9063
Tests: Use add_test(NAME) signature in add_test_macro
This commit is contained in:
commit
33bdcdea80
|
@ -3,7 +3,7 @@
|
|||
macro(ADD_TEST_MACRO NAME COMMAND)
|
||||
string(REPLACE "." "/" dir "${NAME}")
|
||||
string(REGEX REPLACE "[^.]*\\." "" proj "${NAME}")
|
||||
add_test(${NAME} ${CMAKE_CTEST_COMMAND}
|
||||
add_test(NAME "${NAME}" COMMAND "${CMAKE_CTEST_COMMAND}"
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/${dir}"
|
||||
"${CMake_BINARY_DIR}/Tests/${dir}"
|
||||
|
|
Loading…
Reference in New Issue