summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-08-06 19:48:28 (GMT)
committerBrad King <brad.king@kitware.com>2013-08-08 17:26:28 (GMT)
commitbf73264694234c4e82b31689b64b8a33d61552a9 (patch)
tree4d32a31f13043804a9dbc1357bf250c94241a39a /Tests/RunCMake/Syntax/RunCMakeTest.cmake
parent58e524165d44e672e391cca261d9f7dd723d2c70 (diff)
downloadCMake-bf73264694234c4e82b31689b64b8a33d61552a9.zip
CMake-bf73264694234c4e82b31689b64b8a33d61552a9.tar.gz
CMake-bf73264694234c4e82b31689b64b8a33d61552a9.tar.bz2
Warn about unquoted arguments that look like long brackets
In the future CMake will introduce Lua-style long bracket syntax. Warn about unquoted arguments that in the future will be treated as opening long brackets. Teach the RunCMake.Syntax test to cover such cases and ensure that the warning appears.
Diffstat (limited to 'Tests/RunCMake/Syntax/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/Syntax/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/RunCMakeTest.cmake b/Tests/RunCMake/Syntax/RunCMakeTest.cmake
index b1eeff9..8975b25 100644
--- a/Tests/RunCMake/Syntax/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Syntax/RunCMakeTest.cmake
@@ -14,3 +14,4 @@ run_cmake(Unquoted1)
run_cmake(UnterminatedCall1)
run_cmake(UnterminatedCall2)
run_cmake(UnterminatedString)
+run_cmake(BracketWarn)