diff options
author | Brad King <brad.king@kitware.com> | 2007-05-17 18:03:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-17 18:03:31 (GMT) |
commit | ad0df37f62ef0f3141fca758af824191faf11095 (patch) | |
tree | b40229ab4ced0f013abe7c7d8d72f7a2e9460016 | |
parent | 5e1dd6fb518bebccf6aa32788000e0c907d2132a (diff) | |
download | CMake-ad0df37f62ef0f3141fca758af824191faf11095.zip CMake-ad0df37f62ef0f3141fca758af824191faf11095.tar.gz CMake-ad0df37f62ef0f3141fca758af824191faf11095.tar.bz2 |
ENH: Added test for custom command lines with special single-character arguments.
-rw-r--r-- | Tests/CustomCommand/CMakeLists.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt index 76263c2..86b7c5e 100644 --- a/Tests/CustomCommand/CMakeLists.txt +++ b/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}") |