diff options
author | Brad King <brad.king@kitware.com> | 2014-07-02 13:54:52 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-07-02 13:54:52 (GMT) |
commit | 33bdcdea809e5f59f943686f4440b9125d721b00 (patch) | |
tree | a3e8262fa28de4973417cd23492fa44388c09152 /Tests | |
parent | 2ea0d6ba278e67f1fd6f2f78f2df9951a46eb4a4 (diff) | |
parent | 902c90636e1942c12a19f880239267fb30fd7367 (diff) | |
download | CMake-33bdcdea809e5f59f943686f4440b9125d721b00.zip CMake-33bdcdea809e5f59f943686f4440b9125d721b00.tar.gz CMake-33bdcdea809e5f59f943686f4440b9125d721b00.tar.bz2 |
Merge topic 'tests-add_test-NAME'
902c9063 Tests: Use add_test(NAME) signature in add_test_macro
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index cf7bd75..cb455e0 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -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}" |