BUG: Fix CTest.UpdateCVS/SVN tests for win slashes
This fixes the tests to allow windows slashes in reported file names in the generated Update.xml file.
This commit is contained in:
parent
a6c0784489
commit
ac89c8004b
|
@ -37,7 +37,9 @@ function(check_updates build)
|
||||||
# Verify that expected entries exist
|
# Verify that expected entries exist
|
||||||
set(MISSING)
|
set(MISSING)
|
||||||
foreach(f ${ARGN})
|
foreach(f ${ARGN})
|
||||||
if(NOT "${UPDATE_XML_ENTRIES}" MATCHES "<FullName>${f}</FullName>")
|
string(REPLACE "/" "[/\\\\]" regex "${f}")
|
||||||
|
string(REPLACE "." "\\." regex "${regex}")
|
||||||
|
if(NOT "${UPDATE_XML_ENTRIES}" MATCHES "<FullName>${regex}</FullName>")
|
||||||
list(APPEND MISSING ${f})
|
list(APPEND MISSING ${f})
|
||||||
endif()
|
endif()
|
||||||
endforeach(f)
|
endforeach(f)
|
||||||
|
|
Loading…
Reference in New Issue