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 34cb5656bc57df8e12e0833b6aea2f158eb9f3b4 (commit) via 08c71acc8729aa51b389c0583bca351077e5e44e (commit) from 1cba5d0c159fa0219a968297c3ca97e08f5de3e6 (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=34cb5656bc57df8e12e0833b6aea2f158eb9f3b4 commit 34cb5656bc57df8e12e0833b6aea2f158eb9f3b4 Merge: 1cba5d0 08c71ac Author: Rolf Eike Beer <e...@sf-mail.de> AuthorDate: Wed Aug 15 17:05:57 2012 -0400 Commit: CMake Topic Stage <kwro...@kitware.com> CommitDate: Wed Aug 15 17:05:57 2012 -0400 Merge topic 'list-command-argument-fixes' into next 08c71ac CMake.List test: explicitely test with lists containing only an empty string http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=08c71acc8729aa51b389c0583bca351077e5e44e commit 08c71acc8729aa51b389c0583bca351077e5e44e Author: Rolf Eike Beer <e...@sf-mail.de> AuthorDate: Wed Aug 15 23:05:05 2012 +0200 Commit: Rolf Eike Beer <e...@sf-mail.de> CommitDate: Wed Aug 15 23:05:05 2012 +0200 CMake.List test: explicitely test with lists containing only an empty string diff --git a/Tests/CMakeTests/ListTest.cmake.in b/Tests/CMakeTests/ListTest.cmake.in index 07fc7c6..a167503 100644 --- a/Tests/CMakeTests/ListTest.cmake.in +++ b/Tests/CMakeTests/ListTest.cmake.in @@ -86,3 +86,14 @@ TEST("REVERSE result" "ken;brad;bill;andy") set(result bill andy bill brad ken ken ken) list(REMOVE_DUPLICATES result) TEST("REMOVE_DUPLICATES result" "bill;andy;brad;ken") + +# these commands should just do nothing if the list is already empty +set(result "") +list(REMOVE_DUPLICATES result) +TEST("REMOVE_DUPLICATES empty result" "") + +list(REVERSE result) +TEST("REVERSE empty result" "") + +list(SORT result) +TEST("SORT empty result" "") ----------------------------------------------------------------------- Summary of changes: Tests/CMakeTests/ListTest.cmake.in | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) hooks/post-receive -- CMake _______________________________________________ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits