summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-27 18:03:37 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-01-27 18:03:37 (GMT)
commit5781842bc22dbda40430661599d25e289fc09ea0 (patch)
tree66264df0713572907b0e179f066cbe251a4cbc54 /Tests
parentadf309cd0db0db51913b2054400e595cb60c0eba (diff)
parent243cfc2f6f467c71e6dc5af0b1fb28980a31a5ae (diff)
downloadCMake-5781842bc22dbda40430661599d25e289fc09ea0.zip
CMake-5781842bc22dbda40430661599d25e289fc09ea0.tar.gz
CMake-5781842bc22dbda40430661599d25e289fc09ea0.tar.bz2
Merge topic 'ctest-update-p4-unknown-revision'
243cfc2f ctest_update: Handle P4 unknown revisions more robustly
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CTestUpdateCommon.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/CTestUpdateCommon.cmake b/Tests/CTestUpdateCommon.cmake
index db4e08d..642a618 100644
--- a/Tests/CTestUpdateCommon.cmake
+++ b/Tests/CTestUpdateCommon.cmake
@@ -54,7 +54,9 @@ function(check_updates build)
set(EXTRA "${UPDATE_XML_ENTRIES}")
list(REMOVE_ITEM EXTRA ${ARGN} ${UPDATE_EXTRA} ${UPDATE_MAYBE})
set(MISSING "${ARGN}" ${UPDATE_EXTRA})
- list(REMOVE_ITEM MISSING ${UPDATE_XML_ENTRIES})
+ if(NOT "" STREQUAL "${UPDATE_XML_ENTRIES}")
+ list(REMOVE_ITEM MISSING ${UPDATE_XML_ENTRIES})
+ endif()
if(NOT UPDATE_NOT_GLOBAL)
set(rev_elements Revision PriorRevision ${UPDATE_GLOBAL_ELEMENTS})