Преглед изворни кода

ENH: Added test for custom command lines with special single-character arguments.

Brad King пре 18 година
родитељ
комит
ad0df37f62
1 измењених фајлова са 8 додато и 4 уклоњено
  1. 8 4
      Tests/CustomCommand/CMakeLists.txt

+ 8 - 4
Tests/CustomCommand/CMakeLists.txt

@@ -247,8 +247,10 @@ SET(CHECK_ARGS
   one.period
   |two-pipes|
   one|pipe
+  |nopipe
   "#two-pounds#"
   "one#pound"
+  "#nocomment"
   "c:/posix/path/with space"
   "c:\\windows\\path\\with space"
   "'single quotes with space'"
@@ -301,10 +303,12 @@ SET(CHECK_ARGS
   "one|pipe with space"
   "#two-pounds# with space"
   "one#pound with space"
-#  ~ ` ! @ \# $ % ^ & * _ - + = | : \" ' < > , . ? /
-#  "("  ")"  {  }  []
-#  >>  <<  &>  2>&1  1>&2
-#  \\ \\;
+  ~ ` ! @ \# $ % ^ & _ - + = | : "\;" \" ' , . ? "(" ")" { } []
+#  < > << >> &> 2>&1 1>&2
+# *  # MSys make always expands the wildcard
+# /  # MSys make converts a leading slash to the mingw home directory
+# \\ # Need to test last to avoid ; escape in list.
+#    # Make tools need help when this is the last argument.
   )
 FOREACH(arg ${CHECK_ARGS})
   SET(ARG "${arg}")