summaryrefslogtreecommitdiff
path: root/Tests/CustomCommand
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-09-20 13:20:15 -0400
committerDavid Cole <david.cole@kitware.com>2010-09-20 13:20:15 -0400
commita798bb7074dd45e4e375a3df69d08f62a17ab2ab (patch)
tree80e1167d758b025184444d9ae41266f4678a3320 /Tests/CustomCommand
parent9b4ab06c2c46244c158b4349f1b2865f44a11a42 (diff)
downloadcmake-a798bb7074dd45e4e375a3df69d08f62a17ab2ab.tar.gz
Avoid CustomCommand test failure on VS71 (#9963)
Test still failing on dash1.kitware. Give up on testing the new arg on MSVC71. Test it with newer nmakes instead. All other dashboards are fine with -DPATH=c:/posix/path as the first arg, so keep it except when MSVC71 is true.
Diffstat (limited to 'Tests/CustomCommand')
-rw-r--r--Tests/CustomCommand/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt
index d2a0cf722c..76208d4791 100644
--- a/Tests/CustomCommand/CMakeLists.txt
+++ b/Tests/CustomCommand/CMakeLists.txt
@@ -224,8 +224,12 @@ ADD_CUSTOM_COMMAND(OUTPUT gen_redirect.c
##############################################################################
# Test non-trivial command line arguments in custom commands.
SET(EXPECTED_ARGUMENTS)
+SET(CHECK_ARGS)
+IF(NOT MSVC71)
+ SET(CHECK_ARGS -DPATH=c:/posix/path)
+ENDIF()
SET(CHECK_ARGS
- -DPATH=c:/posix/path
+ ${CHECK_ARGS}
c:/posix/path
c:\\windows\\path
'single-quotes'