summaryrefslogtreecommitdiffstats
path: root/Tests/Preprocess
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-04-24 15:21:09 (GMT)
committerBrad King <brad.king@kitware.com>2009-04-24 15:21:09 (GMT)
commit6a74dbbeef44159fd423640b3b0043eb634314de (patch)
treefc4987e8780028ffbce0985bdea6b26ae6346575 /Tests/Preprocess
parent708d1cf1ee9300bc9b9e26a47e1bbe1718612d6f (diff)
downloadCMake-6a74dbbeef44159fd423640b3b0043eb634314de.zip
CMake-6a74dbbeef44159fd423640b3b0043eb634314de.tar.gz
CMake-6a74dbbeef44159fd423640b3b0043eb634314de.tar.bz2
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 3187c36..2401d59 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)
#-----------------------------------------------------------------------------