summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/ParenInENV-stderr.txt
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-07 22:53:31 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-02-21 21:39:12 (GMT)
commita9bdef2dda7985762e2eae7e6ae323606d917b4e (patch)
tree9e63d07764cd968cf4e8be1dbb03aa4e22c23dc4 /Tests/RunCMake/Syntax/ParenInENV-stderr.txt
parentc0bbefbfe7209e849c04f57e79908401ba825fe0 (diff)
downloadCMake-a9bdef2dda7985762e2eae7e6ae323606d917b4e.zip
CMake-a9bdef2dda7985762e2eae7e6ae323606d917b4e.tar.gz
CMake-a9bdef2dda7985762e2eae7e6ae323606d917b4e.tar.bz2
tests: Add variable expansion tests
There are some corner cases in variable expansion which would be nice to capture before going and rewriting the variable expansion code. The majority of these are related to configuring files and strings with '@' in them in conjunction with @ONLY being specified. Another is testing for '(' usage inside of ENV variable references based on whether it is quoted or not.
Diffstat (limited to 'Tests/RunCMake/Syntax/ParenInENV-stderr.txt')
-rw-r--r--Tests/RunCMake/Syntax/ParenInENV-stderr.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/ParenInENV-stderr.txt b/Tests/RunCMake/Syntax/ParenInENV-stderr.txt
new file mode 100644
index 0000000..7ecfe11
--- /dev/null
+++ b/Tests/RunCMake/Syntax/ParenInENV-stderr.txt
@@ -0,0 +1,20 @@
+CMake Warning \(dev\) at CMakeLists.txt:3 \(include\):
+ Syntax Warning in cmake code at
+
+ .*/Tests/RunCMake/Syntax/ParenInENV.cmake:2:21
+
+ Argument not separated from preceding token by whitespace.
+This warning is for project developers. Use -Wno-dev to suppress it.
+
+CMake Error at ParenInENV.cmake:2 \(message\):
+ Syntax error in cmake code at
+
+ .*/Tests/RunCMake/Syntax/ParenInENV.cmake:2
+
+ when parsing string
+
+ -->\$ENV{e
+
+ syntax error, unexpected \$end, expecting } \(9\)
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)