summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexRelativePaths/VarTests.cmake
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-03-27 18:54:31 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-03-27 18:54:31 (GMT)
commit85b286f04e85f8acb8add3fb6d00d362d34f72dc (patch)
tree3283e51323f46865dbceb3df966807719f28acea /Tests/ComplexRelativePaths/VarTests.cmake
parent1623dc2183996810c00417e9bc532ce38f7c893e (diff)
downloadCMake-85b286f04e85f8acb8add3fb6d00d362d34f72dc.zip
CMake-85b286f04e85f8acb8add3fb6d00d362d34f72dc.tar.gz
CMake-85b286f04e85f8acb8add3fb6d00d362d34f72dc.tar.bz2
ENH: add a more stressing FOREACH test.
Diffstat (limited to 'Tests/ComplexRelativePaths/VarTests.cmake')
-rw-r--r--Tests/ComplexRelativePaths/VarTests.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/ComplexRelativePaths/VarTests.cmake b/Tests/ComplexRelativePaths/VarTests.cmake
index 5c444f5..48d04c1 100644
--- a/Tests/ComplexRelativePaths/VarTests.cmake
+++ b/Tests/ComplexRelativePaths/VarTests.cmake
@@ -102,6 +102,11 @@ FOREACH (INDEX 1 2)
SET(FOREACH_VAR${INDEX} "VALUE${INDEX}")
ENDFOREACH(INDEX)
+SET(FOREACH_CONCAT "")
+FOREACH (INDEX "a;b;c;d;e;f;g")
+ SET(FOREACH_CONCAT "${FOREACH_CONCAT}${INDEX}")
+ENDFOREACH(INDEX)
+
#
# Test FIND_FILE, FIND_PATH and various GET_FILENAME_COMPONENT combinations
#