summaryrefslogtreecommitdiffstats
path: root/Tests/Module/ExternalData/Data2/Data2Check.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Module/ExternalData/Data2/Data2Check.cmake')
-rw-r--r--Tests/Module/ExternalData/Data2/Data2Check.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/Module/ExternalData/Data2/Data2Check.cmake b/Tests/Module/ExternalData/Data2/Data2Check.cmake
new file mode 100644
index 0000000..a1dd509
--- /dev/null
+++ b/Tests/Module/ExternalData/Data2/Data2Check.cmake
@@ -0,0 +1,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()