summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-02 13:54:52 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-07-02 13:54:52 (GMT)
commit33bdcdea809e5f59f943686f4440b9125d721b00 (patch)
treea3e8262fa28de4973417cd23492fa44388c09152 /Tests
parent2ea0d6ba278e67f1fd6f2f78f2df9951a46eb4a4 (diff)
parent902c90636e1942c12a19f880239267fb30fd7367 (diff)
downloadCMake-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.txt2
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}"