summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-30 23:12:59 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-30 23:13:41 (GMT)
commitb54dbebf6259eb9fb688b1857e84cfcc2ffdbbe1 (patch)
treec647c8e606f25237d11b244b0a5f7bf05c4c9b0b /Tests/RunCMake/Syntax/RunCMakeTest.cmake
parentccdf7e04d451ac9fa877835d7c167b8bbda70686 (diff)
downloadCMake-b54dbebf6259eb9fb688b1857e84cfcc2ffdbbe1.zip
CMake-b54dbebf6259eb9fb688b1857e84cfcc2ffdbbe1.tar.gz
CMake-b54dbebf6259eb9fb688b1857e84cfcc2ffdbbe1.tar.bz2
Test foreach/function/macro handling of bracket arguments
Bracket arguments recorded in command invocations inside foreach, function, and macro blocks should not have any replacements done when the arguments are replayed later. Teach the RunCMake.Syntax test to cover these cases.
Diffstat (limited to 'Tests/RunCMake/Syntax/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/Syntax/RunCMakeTest.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/RunCMakeTest.cmake b/Tests/RunCMake/Syntax/RunCMakeTest.cmake
index 4f42a07..5f05cfc 100644
--- a/Tests/RunCMake/Syntax/RunCMakeTest.cmake
+++ b/Tests/RunCMake/Syntax/RunCMakeTest.cmake
@@ -12,6 +12,9 @@ run_cmake(CommandComments)
run_cmake(CommandError0)
run_cmake(CommandError1)
run_cmake(CommandError2)
+run_cmake(ForEachBracket1)
+run_cmake(FunctionBracket1)
+run_cmake(MacroBracket1)
run_cmake(String0)
run_cmake(String1)
run_cmake(StringBackslash)