summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/foreach/foreach-RANGE-invalid-test-stderr.txt
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-02-27 18:54:42 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-02-27 19:52:06 (GMT)
commit185d1aefaa209115d21c6c821ff85f64411e95de (patch)
tree3cdb8491c92fa55e004054966c0cc646c8a3d076 /Tests/RunCMake/foreach/foreach-RANGE-invalid-test-stderr.txt
parenta33b3949e5337da978828d611f3ca3f08bcda21b (diff)
downloadCMake-185d1aefaa209115d21c6c821ff85f64411e95de.zip
CMake-185d1aefaa209115d21c6c821ff85f64411e95de.tar.gz
CMake-185d1aefaa209115d21c6c821ff85f64411e95de.tar.bz2
foreach: Set fatal error on invalid range
Fixes: #20394
Diffstat (limited to 'Tests/RunCMake/foreach/foreach-RANGE-invalid-test-stderr.txt')
-rw-r--r--Tests/RunCMake/foreach/foreach-RANGE-invalid-test-stderr.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/foreach/foreach-RANGE-invalid-test-stderr.txt b/Tests/RunCMake/foreach/foreach-RANGE-invalid-test-stderr.txt
new file mode 100644
index 0000000..66efdc1
--- /dev/null
+++ b/Tests/RunCMake/foreach/foreach-RANGE-invalid-test-stderr.txt
@@ -0,0 +1,4 @@
+^CMake Error at foreach-RANGE-invalid-test\.cmake:[0-9]+ \(foreach\):
+ foreach called with incorrect range specification: start 2, stop 1, step 1
+Call Stack \(most recent call first\):
+ CMakeLists\.txt:3 \(include\)$