summaryrefslogtreecommitdiffstats
path: root/Tests/Module/ExternalData/Data1Check.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-24 19:12:10 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-30 15:05:07 (GMT)
commitee2abfdc8913e4e9a5bc77c56a9d3dea83fde6f1 (patch)
tree4a0235d75ef035f1129888043fda79db892f8f75 /Tests/Module/ExternalData/Data1Check.cmake
parentaa8b2288d320335d28f3777e1bc86ed3df231a09 (diff)
downloadCMake-ee2abfdc8913e4e9a5bc77c56a9d3dea83fde6f1.zip
CMake-ee2abfdc8913e4e9a5bc77c56a9d3dea83fde6f1.tar.gz
CMake-ee2abfdc8913e4e9a5bc77c56a9d3dea83fde6f1.tar.bz2
ExternalData: Add support for SHA 1 and 2 hash algorithms
Update the Module.ExternalData and RunCMake.ExternalData tests to cover some of them.
Diffstat (limited to 'Tests/Module/ExternalData/Data1Check.cmake')
-rw-r--r--Tests/Module/ExternalData/Data1Check.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/Module/ExternalData/Data1Check.cmake b/Tests/Module/ExternalData/Data1Check.cmake
index 972ec46..b99d7ae 100644
--- a/Tests/Module/ExternalData/Data1Check.cmake
+++ b/Tests/Module/ExternalData/Data1Check.cmake
@@ -26,6 +26,12 @@ foreach(s A B C D)
endif()
endforeach()
endforeach()
+foreach(n .1 .2 .3 .4)
+ string(REGEX REPLACE "\\.1\\.dat$" "${n}.dat" file "${SeriesMixed}")
+ if(NOT EXISTS "${file}")
+ message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
+ endif()
+endforeach()
foreach(n A B)
string(REGEX REPLACE "A\\.dat$" "${n}.dat" file "${Paired}")
if(NOT EXISTS "${file}")