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

This commit is contained in:
Brad King 2007-05-17 14:03:31 -04:00
parent 5e1dd6fb51
commit ad0df37f62
1 changed files with 8 additions and 4 deletions

View File

@ -247,8 +247,10 @@ SET(CHECK_ARGS
one.period one.period
|two-pipes| |two-pipes|
one|pipe one|pipe
|nopipe
"#two-pounds#" "#two-pounds#"
"one#pound" "one#pound"
"#nocomment"
"c:/posix/path/with space" "c:/posix/path/with space"
"c:\\windows\\path\\with space" "c:\\windows\\path\\with space"
"'single quotes with space'" "'single quotes with space'"
@ -301,10 +303,12 @@ SET(CHECK_ARGS
"one|pipe with space" "one|pipe with space"
"#two-pounds# with space" "#two-pounds# with space"
"one#pound 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}) FOREACH(arg ${CHECK_ARGS})
SET(ARG "${arg}") SET(ARG "${arg}")