This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  e06be31bb496b997cecc2eb60a415231036b1845 (commit)
       via  902c90636e1942c12a19f880239267fb30fd7367 (commit)
      from  ec1a6fdf6567f8c6d365787fa6c36691b666e616 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e06be31bb496b997cecc2eb60a415231036b1845
commit e06be31bb496b997cecc2eb60a415231036b1845
Merge: ec1a6fd 902c906
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Tue Jul 1 10:23:55 2014 -0400
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Tue Jul 1 10:23:55 2014 -0400

    Merge topic 'tests-add_test-NAME' into next
    
    902c9063 Tests: Use add_test(NAME) signature in add_test_macro


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=902c90636e1942c12a19f880239267fb30fd7367
commit 902c90636e1942c12a19f880239267fb30fd7367
Author:     Ben Boeckel <ben.boec...@kitware.com>
AuthorDate: Tue Jul 1 10:24:47 2014 -0400
Commit:     Brad King <brad.k...@kitware.com>
CommitDate: Tue Jul 1 10:24:48 2014 -0400

    Tests: Use add_test(NAME) signature in add_test_macro
    
    This will allow generator expressions to be used in test arguments.

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

-----------------------------------------------------------------------

Summary of changes:
 Tests/CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits

Reply via email to