summaryrefslogtreecommitdiffstats
path: root/Tests/GeneratorExpression/check-part2.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-05-02 07:02:01 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-05-16 17:25:06 (GMT)
commit05bf9721e48f8fbf3b3b5338ec779ee5e344a6d0 (patch)
tree771762e9c751ac334c293edd9107b860b2d23c9f /Tests/GeneratorExpression/check-part2.cmake
parent272431a84ff13eb17cf04389428f57c7fe13e3a2 (diff)
downloadCMake-05bf9721e48f8fbf3b3b5338ec779ee5e344a6d0.zip
CMake-05bf9721e48f8fbf3b3b5338ec779ee5e344a6d0.tar.gz
CMake-05bf9721e48f8fbf3b3b5338ec779ee5e344a6d0.tar.bz2
Fix handling of commas in arbitrary content in genexes.
As the comma is the parameter separator, it needs to be re-added when evaluating to reconstruct arbitrary content.
Diffstat (limited to 'Tests/GeneratorExpression/check-part2.cmake')
-rw-r--r--Tests/GeneratorExpression/check-part2.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/GeneratorExpression/check-part2.cmake b/Tests/GeneratorExpression/check-part2.cmake
index 3f7187c..a1db5f6 100644
--- a/Tests/GeneratorExpression/check-part2.cmake
+++ b/Tests/GeneratorExpression/check-part2.cmake
@@ -34,3 +34,13 @@ check(test_target_includes5 "/empty2/public;/empty3/public;/empty2/public;/empty
check(test_target_includes6 "/empty3/public;/empty3/private;/empty2/public;/empty3/public;/empty4/public")
check(test_target_includes7 "/empty1/public;/empty2/public;/empty3/public;/empty4/public")
check(test_target_includes8 "/empty5/private1;/empty5/private2")
+check(test_arbitrary_content_comma_1 "a,")
+check(test_arbitrary_content_comma_2 ",a")
+check(test_arbitrary_content_comma_3 "a,,")
+check(test_arbitrary_content_comma_4 ",")
+check(test_arbitrary_content_comma_5 ",,")
+check(test_arbitrary_content_comma_6 ",,,")
+check(test_arbitrary_content_comma_7 ",,a")
+check(test_arbitrary_content_comma_8 "a,,b")
+check(test_arbitrary_content_comma_9 "a,,b,,")
+check(test_arbitrary_content_comma_10 ",,a,,b,,")