diff options
author | Brad King <brad.king@kitware.com> | 2013-08-08 17:55:32 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-08-08 17:55:32 (GMT) |
commit | 81aaad0c7357b50770284b7d87d04cedf8bc4eae (patch) | |
tree | 6fea2c56f697d2e5b3092929fc0fb73e042ef67b /Tests/RunCMake/Syntax/RunCMakeTest.cmake | |
parent | aaadc280c94dc8b08395616dfa3fec573076676f (diff) | |
parent | b93982fb640b7a7f4ebf53d19a44f615dd547636 (diff) | |
download | CMake-81aaad0c7357b50770284b7d87d04cedf8bc4eae.zip CMake-81aaad0c7357b50770284b7d87d04cedf8bc4eae.tar.gz CMake-81aaad0c7357b50770284b7d87d04cedf8bc4eae.tar.bz2 |
Merge topic 'cmake-syntax'
b93982f Merge branch 'dev/fix-variable-watch-crash' into cmake-syntax
c50f7ed cmListFileLexer: Modify flex output to avoid Borland warning
bf73264 Warn about unquoted arguments that look like long brackets
58e5241 Warn about arguments not separated by whitespace
e75b69f cmListFileCache: Convert CMake language parser to class
e945949 Add RunCMake.Syntax test cases for command invocation styles
0546484 cmListFileArgument: Generalize 'Quoted' bool to 'Delimeter' enum
28685ad cmListFileLexer: Split normal and legacy unquoted arguments
1eafa3e cmListFileLexer: Fix line number after backslash in string
f3155cd Add RunCMake.Syntax test to cover argument parsing
Diffstat (limited to 'Tests/RunCMake/Syntax/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/Syntax/RunCMakeTest.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/RunCMakeTest.cmake b/Tests/RunCMake/Syntax/RunCMakeTest.cmake new file mode 100644 index 0000000..8975b25 --- /dev/null +++ b/Tests/RunCMake/Syntax/RunCMakeTest.cmake @@ -0,0 +1,17 @@ +include(RunCMake) + +run_cmake(CommandSpaces) +run_cmake(CommandTabs) +run_cmake(CommandNewlines) +run_cmake(CommandComments) +run_cmake(CommandError0) +run_cmake(CommandError1) +run_cmake(String0) +run_cmake(String1) +run_cmake(StringNoSpace) +run_cmake(Unquoted0) +run_cmake(Unquoted1) +run_cmake(UnterminatedCall1) +run_cmake(UnterminatedCall2) +run_cmake(UnterminatedString) +run_cmake(BracketWarn) |