diff options
author | Brad King <brad.king@kitware.com> | 2007-05-17 14:53:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-17 14:53:18 (GMT) |
commit | c25d2bfdd2c81076bf637ae1b2aee711d9e6424d (patch) | |
tree | d8832b6899273a77800958ab852cbd5d2631c73c /Tests/CustomCommand | |
parent | cc507411d3641297ed9fff7789cd4121dbe849b3 (diff) | |
download | CMake-c25d2bfdd2c81076bf637ae1b2aee711d9e6424d.zip CMake-c25d2bfdd2c81076bf637ae1b2aee711d9e6424d.tar.gz CMake-c25d2bfdd2c81076bf637ae1b2aee711d9e6424d.tar.bz2 |
ENH: Added testing for custom command line arguments containing all special characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
Diffstat (limited to 'Tests/CustomCommand')
-rw-r--r-- | Tests/CustomCommand/CMakeLists.txt | 71 |
1 files changed, 69 insertions, 2 deletions
diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt index fb7b714..a0dc012 100644 --- a/Tests/CustomCommand/CMakeLists.txt +++ b/Tests/CustomCommand/CMakeLists.txt @@ -195,6 +195,7 @@ ADD_SUBDIRECTORY(GeneratorInExtraDir) ############################################################################## # Test non-trivial command line arguments in custom commands. SET(EXPECTED_ARGUMENTS) +# TODO: Check shell operators < > << >> | 2>&1 1>&2 &> ! & SET(CHECK_ARGS c:/posix/path c:\\windows\\path @@ -209,12 +210,43 @@ SET(CHECK_ARGS "(parens)" "(lparen" "rparen)" + {curly} + {lcurly} + rcurly} + <angle> + <langle + rangle> + [square] + [lsquare # these have funny behavior due to special cases for + rsquare] # windows registry value names in list expansion $dollar-signs$ dollar$sign &ersands& - amper&sand + one&ersand @two-ats@ one@at + ~two-tilda~ + one~tilda + ^two-carrots^ + one^carrot + %two-percents% + one%percent + !two-exclamations! + one!exclamation + ?two-questions? + one?question + *two-stars* + one*star + =two+equals= + one=equals + _two-underscores_ + one_underscore + ,two-commas, + one,comma + .two-periods. + one.period + |two-pipes| + one|pipe "#two-pounds#" "one#pound" "c:/posix/path/with space" @@ -230,14 +262,49 @@ SET(CHECK_ARGS "(parens) with space" "(lparen with space" "rparen) with space" + "{curly} with space" + "{lcurly with space" + "rcurly} with space" + "<angle> with space" + "<langle with space" + "rangle> with space" + "[square] with space" + "[lsquare with space" # these have funny behavior due to special cases for + "rsquare] with space" # windows registry value names in list expansion "$dollar-signs$ with space" "dollar$sign with space" "&ersands& with space" - "amper&sand with space" + "one&ersand with space" "@two-ats@ with space" "one@at with space" + "~two-tilda~ with space" + "one~tilda with space" + "^two-carrots^ with space" + "one^carrot with space" + "%two-percents% with space" + "one%percent with space" + "!two-exclamations! with space" + "one!exclamation with space" + "*two-stars* with space" + "one*star with space" + "=two+equals= with space" + "one=equals with space" + "_two-underscores_ with space" + "one_underscore with space" + "?two-questions? with space" + "one?question with space" + ",two-commas, with space" + "one,comma with space" + ".two-periods. with space" + "one.period with space" + "|two-pipes| with space" + "one|pipe with space" "#two-pounds# with space" "one#pound with space" +# ~ ` ! @ \# $ % ^ & * _ - + = | : \" ' < > , . ? / +# "(" ")" { } [] +# >> << &> 2>&1 1>&2 +# \\ \\; ) FOREACH(arg ${CHECK_ARGS}) SET(ARG "${arg}") |