[cmake-commits] king committed CMakeLists.txt 1.28 1.29

cmake-commits at cmake.org cmake-commits at cmake.org
Thu May 17 10:53:20 EDT 2007


Update of /cvsroot/CMake/CMake/Tests/CustomCommand
In directory public:/mounts/ram/cvs-serv1454/Tests/CustomCommand

Modified Files:
	CMakeLists.txt 
Log Message:
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.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CustomCommand/CMakeLists.txt,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- CMakeLists.txt	9 May 2007 12:25:45 -0000	1.28
+++ CMakeLists.txt	17 May 2007 14:53:18 -0000	1.29
@@ -195,6 +195,7 @@
 ##############################################################################
 # 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 @@
   "(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
   &ampersands&
-  amper&sand
+  one&ampersand
   @two-ats@
   one at 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 @@
   "(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"
   "&ampersands& with space"
-  "amper&sand with space"
+  "one&ampersand with space"
   "@two-ats@ with space"
   "one at 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}")



More information about the Cmake-commits mailing list