summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/while
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2021-08-09 18:48:24 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2021-08-09 19:35:11 (GMT)
commite97e714f0d59809fcefdc94feaadedb319d252c6 (patch)
tree5129b65091504c190f086bcdec671a796758baf3 /Tests/RunCMake/while
parent880ca66b51551d5ee732c7b81349c1a5f724d093 (diff)
downloadCMake-e97e714f0d59809fcefdc94feaadedb319d252c6.zip
CMake-e97e714f0d59809fcefdc94feaadedb319d252c6.tar.gz
CMake-e97e714f0d59809fcefdc94feaadedb319d252c6.tar.bz2
Fix: `while()` reports an error the same way as `if()`
With arguments list expanded.
Diffstat (limited to 'Tests/RunCMake/while')
-rw-r--r--Tests/RunCMake/while/unbalanced-parenthesis-stderr.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Tests/RunCMake/while/unbalanced-parenthesis-stderr.txt b/Tests/RunCMake/while/unbalanced-parenthesis-stderr.txt
index 33ac54a..9d4132c 100644
--- a/Tests/RunCMake/while/unbalanced-parenthesis-stderr.txt
+++ b/Tests/RunCMake/while/unbalanced-parenthesis-stderr.txt
@@ -1,5 +1,8 @@
CMake Error at unbalanced-parenthesis.cmake:[0-9]+ \(while\):
- had incorrect arguments: NOT \$\{var_with_paren\} IN_LIST some_list
- \(mismatched parenthesis in condition\).
+ had incorrect arguments:
+
+ "NOT" "\(" "IN_LIST" "some_list"
+
+ mismatched parenthesis in condition
Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)