diff options
Diffstat (limited to 'Tests/FortranOnly/checksayhello.cmake')
-rw-r--r-- | Tests/FortranOnly/checksayhello.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/FortranOnly/checksayhello.cmake b/Tests/FortranOnly/checksayhello.cmake new file mode 100644 index 000000000..5352290ab --- /dev/null +++ b/Tests/FortranOnly/checksayhello.cmake @@ -0,0 +1,7 @@ +file(READ out.txt IN) +message("${IN}") +if(IN MATCHES Hello AND IN MATCHES World) + message("Passed") +else() + message(FATAL_ERROR "Hello world not found") +endif() |