diff options
author | Brad King <brad.king@kitware.com> | 2014-01-27 18:03:37 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-01-27 18:03:37 (GMT) |
commit | 5781842bc22dbda40430661599d25e289fc09ea0 (patch) | |
tree | 66264df0713572907b0e179f066cbe251a4cbc54 /Tests | |
parent | adf309cd0db0db51913b2054400e595cb60c0eba (diff) | |
parent | 243cfc2f6f467c71e6dc5af0b1fb28980a31a5ae (diff) | |
download | CMake-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.cmake | 4 |
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}) |