[Cmake-commits] CMake branch, next, updated. v3.0.0-rc4-3133-g03117b8
Rolf Eike Beer
eike at sf-mail.de
Mon May 12 12:21:50 EDT 2014
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 03117b89580f9642755e680234ac4f76f7efdb88 (commit)
via 293bcf7a6059af2293ee4d3f0509fcaf1eb66f72 (commit)
from 464619b3cde96a348a2df7a5caf8e743f399c351 (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=03117b89580f9642755e680234ac4f76f7efdb88
commit 03117b89580f9642755e680234ac4f76f7efdb88
Merge: 464619b 293bcf7
Author: Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Mon May 12 12:21:49 2014 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon May 12 12:21:49 2014 -0400
Merge topic 'gtest-add_test' into next
293bcf7a FindGTest: use new add_test() signature (#14913)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=293bcf7a6059af2293ee4d3f0509fcaf1eb66f72
commit 293bcf7a6059af2293ee4d3f0509fcaf1eb66f72
Author: Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Mon May 12 18:21:37 2014 +0200
Commit: Rolf Eike Beer <eike at sf-mail.de>
CommitDate: Mon May 12 18:21:37 2014 +0200
FindGTest: use new add_test() signature (#14913)
This allows to use target names as executables.
diff --git a/Modules/FindGTest.cmake b/Modules/FindGTest.cmake
index 6a36ea6..e6b5b0a 100644
--- a/Modules/FindGTest.cmake
+++ b/Modules/FindGTest.cmake
@@ -134,7 +134,7 @@ function(GTEST_ADD_TESTS executable extra_args)
message(WARNING "Could not parse GTest ${hit} for adding to CTest.")
continue()
endif()
- add_test(${test_name} ${executable} --gtest_filter=${test_name} ${extra_args})
+ add_test(NAME ${test_name} COMMAND ${executable} --gtest_filter=${test_name} ${extra_args})
endforeach()
endforeach()
endfunction()
-----------------------------------------------------------------------
Summary of changes:
Modules/FindGTest.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list