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  19c85b6c73f4274fd890b9c6f072010fb7c8c678 (commit)
       via  57da498c3cbc6acdf47a8e3ea1d09e92b2fdf251 (commit)
      from  2ee866a2320722c485a1244163f9d7183b5e6d01 (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=19c85b6c73f4274fd890b9c6f072010fb7c8c678
commit 19c85b6c73f4274fd890b9c6f072010fb7c8c678
Merge: 2ee866a 57da498
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Fri Jan 13 14:24:08 2012 -0500
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Fri Jan 13 14:24:08 2012 -0500

    Merge topic 'link-shared-depend-cycle-issue-12647' into next
    
    57da498 Add macro to infrastructure for CMake-only tests


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=57da498c3cbc6acdf47a8e3ea1d09e92b2fdf251
commit 57da498c3cbc6acdf47a8e3ea1d09e92b2fdf251
Author:     Brad King <brad.k...@kitware.com>
AuthorDate: Fri Jan 13 14:19:50 2012 -0500
Commit:     Brad King <brad.k...@kitware.com>
CommitDate: Fri Jan 13 14:19:50 2012 -0500

    Add macro to infrastructure for CMake-only tests
    
    All CMake-only tests will use the same basic form.  Create an
    "add_CMakeOnly_test" macro for it.

diff --git a/Tests/CMakeOnly/CMakeLists.txt b/Tests/CMakeOnly/CMakeLists.txt
index b3bdab8..e4ba53a 100644
--- a/Tests/CMakeOnly/CMakeLists.txt
+++ b/Tests/CMakeOnly/CMakeLists.txt
@@ -1,8 +1,12 @@
 configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Test.cmake.in
                ${CMAKE_CURRENT_BINARY_DIR}/Test.cmake @ONLY)
 
-add_test(CMakeOnly.LinkInterfaceLoop ${CMAKE_CMAKE_COMMAND}
-  -DTEST=LinkInterfaceLoop
-  -P ${CMAKE_CURRENT_BINARY_DIR}/Test.cmake
-  )
+macro(add_CMakeOnly_test test)
+  add_test(CMakeOnly.${test} ${CMAKE_CMAKE_COMMAND}
+    -DTEST=${test}
+    -P ${CMAKE_CURRENT_BINARY_DIR}/Test.cmake
+    )
+endmacro()
+
+add_CMakeOnly_test(LinkInterfaceLoop)
 set_property(TEST CMakeOnly.LinkInterfaceLoop PROPERTY TIMEOUT 90)

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

Summary of changes:
 Tests/CMakeOnly/CMakeLists.txt |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)


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

Reply via email to