diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-20 14:47:38 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-22 15:40:48 (GMT) |
commit | 12f6e37eb79ad66c30269a3f19dfc28a9cb834e2 (patch) | |
tree | 056b3662153bfdae6859fd5030582ced45880eb0 /Tests/RunCMake/while/EndAloneArgs-stderr.txt | |
parent | 67383725bd40a92db85738f8d0c120e2c9bb2100 (diff) | |
download | CMake-12f6e37eb79ad66c30269a3f19dfc28a9cb834e2.zip CMake-12f6e37eb79ad66c30269a3f19dfc28a9cb834e2.tar.gz CMake-12f6e37eb79ad66c30269a3f19dfc28a9cb834e2.tar.bz2 |
cmListFileCache: Enforce proper nesting of flow control statements
Fixes: #19153
Diffstat (limited to 'Tests/RunCMake/while/EndAloneArgs-stderr.txt')
-rw-r--r-- | Tests/RunCMake/while/EndAloneArgs-stderr.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Tests/RunCMake/while/EndAloneArgs-stderr.txt b/Tests/RunCMake/while/EndAloneArgs-stderr.txt index a8c043d..1634e3b 100644 --- a/Tests/RunCMake/while/EndAloneArgs-stderr.txt +++ b/Tests/RunCMake/while/EndAloneArgs-stderr.txt @@ -1,5 +1,4 @@ -^CMake Error at EndAloneArgs.cmake:1 \(endwhile\): - endwhile An ENDWHILE command was found outside of a proper WHILE ENDWHILE - structure. Or its arguments did not match the opening WHILE command. +^CMake Error at EndAloneArgs\.cmake:[0-9]+ \(endwhile\): + Flow control statements are not properly nested\. Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\)$ + CMakeLists\.txt:[0-9]+ \(include\)$ |