summaryrefslogtreecommitdiffstats
path: root/Tests/Module/ExternalData/Data1Check.cmake
diff options
context:
space:
mode:
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 fd18cdf..972ec46 100644
--- a/Tests/Module/ExternalData/Data1Check.cmake
+++ b/Tests/Module/ExternalData/Data1Check.cmake
@@ -38,3 +38,9 @@ foreach(n Top A B C)
message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
endif()
endforeach()
+foreach(n A B C)
+ set(file "${Directory}/${n}.dat")
+ if(NOT EXISTS "${file}")
+ message(SEND_ERROR "Input file:\n ${file}\ndoes not exist!")
+ endif()
+endforeach()