summaryrefslogtreecommitdiffstats
path: root/Tests/Module/ExternalData/Data2/Data2Check.cmake
blob: a1dd5091d10ef84bb9b0bbde40c2ddfbd20304e6 (plain)
1
2
3
4
5
6
7
8
9
if(NOT EXISTS "${Data2}")
  message(SEND_ERROR "Input file:\n  ${Data2}\ndoes not exist!")
endif()
foreach(n 1 2 3)
  string(REGEX REPLACE "_1_\\.my\\.dat$" "_${n}_.my.dat" SeriesCFile "${SeriesC}")
  if(NOT EXISTS "${SeriesCFile}")
    message(SEND_ERROR "Input file:\n  ${SeriesCFile}\ndoes not exist!")
  endif()
endforeach()