summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/foreach/foreach-all-test-stdout.txt
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2019-11-04 15:11:07 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2019-11-06 14:14:47 (GMT)
commit53227a4ff27c6eda7cb5b3b283f96d1f2d2d56ca (patch)
tree92e127c69389bae8ae45f39019a70e68374f3b50 /Tests/RunCMake/foreach/foreach-all-test-stdout.txt
parente3afdef8c567880d7c83ca5980e4c5f5d289880c (diff)
downloadCMake-53227a4ff27c6eda7cb5b3b283f96d1f2d2d56ca.zip
CMake-53227a4ff27c6eda7cb5b3b283f96d1f2d2d56ca.tar.gz
CMake-53227a4ff27c6eda7cb5b3b283f96d1f2d2d56ca.tar.bz2
Refactor: Modernize `foreach` code and fix some bugs
- fix the typo in `foreach` documentation - fix broken `foreach(... IN ITEMS ... LISTS ...)` - add tests of `foreach` for existed functionality and fixes
Diffstat (limited to 'Tests/RunCMake/foreach/foreach-all-test-stdout.txt')
-rw-r--r--Tests/RunCMake/foreach/foreach-all-test-stdout.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/Tests/RunCMake/foreach/foreach-all-test-stdout.txt b/Tests/RunCMake/foreach/foreach-all-test-stdout.txt
new file mode 100644
index 0000000..e8f622d
--- /dev/null
+++ b/Tests/RunCMake/foreach/foreach-all-test-stdout.txt
@@ -0,0 +1,44 @@
+-- foreach\(RANGE\):
+-- \[0\.\.1\]/1
+-- < 0
+-- < 1
+-- \[1\.\.1\]/1
+-- < 1
+-- \[0\.\.10\]/2
+-- < 0
+-- < 2
+-- < 4
+-- < 6
+-- < 8
+-- < 10
+-- \[-10\.\.0\]/3
+-- < -10
+-- < -7
+-- < -4
+-- < -1
+-- \[0\.\.-10\]/-5
+-- < 0
+-- < -5
+-- < -10
+-- foreach\(IN ITEMS\):
+-- < one
+-- < two
+-- < three
+-- foreach\(IN LISTS\):
+-- < satu
+-- < dua
+-- < tiga
+-- foreach\(IN LISTS and ITEMS\):
+-- < satu
+-- < dua
+-- < tiga
+-- < one
+-- < two
+-- < three
+-- foreach\(IN ITEMS and LISTS\):
+-- < one
+-- < two
+-- < three
+-- < satu
+-- < dua
+-- < tiga