summaryrefslogtreecommitdiff
path: root/Tests/Preprocess
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-04-24 11:21:09 -0400
committerBrad King <brad.king@kitware.com>2009-04-24 11:21:09 -0400
commit6a74dbbeef44159fd423640b3b0043eb634314de (patch)
treefc4987e8780028ffbce0985bdea6b26ae6346575 /Tests/Preprocess
parent708d1cf1ee9300bc9b9e26a47e1bbe1718612d6f (diff)
downloadcmake-6a74dbbeef44159fd423640b3b0043eb634314de.tar.gz
ENH: Test spaces in non-string preprocessor values
This extends the Preprocessor test to put spaces in the value of a definition that is not a quoted string. In particular this tests that VS6 supports values with spaces if they do not have '"', '$', or ';'. See issue #8779.
Diffstat (limited to 'Tests/Preprocess')
-rw-r--r--Tests/Preprocess/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Preprocess/CMakeLists.txt b/Tests/Preprocess/CMakeLists.txt
index 3187c36a02..2401d59b64 100644
--- a/Tests/Preprocess/CMakeLists.txt
+++ b/Tests/Preprocess/CMakeLists.txt
@@ -178,7 +178,7 @@ set(EXPR "x*y+!(x==(y+1*2))*f(x${EXPR_OP1}2)")
if(NOT WATCOM)
# Watcom does not support - or / because it parses them as options.
- set(EXPR "${EXPR}+y/x-x")
+ set(EXPR "${EXPR} + y/x-x")
endif(NOT WATCOM)
#-----------------------------------------------------------------------------