diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2013-09-22 21:45:38 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2013-09-22 21:45:38 (GMT) |
commit | c9f8b7bf6bbe6ad2e4b1289a2c47afd79d0c68c1 (patch) | |
tree | c7c364fb8ecc302a1c60146e53f0674e0e6936b6 /tests/regression/echotest/variable-scope-tests-expected.echo | |
parent | 40a198a0870d53f491ba72a95a57b9f405d031c0 (diff) | |
parent | 4ebd8136a83325e67be7a39c9349ec8812aa05c1 (diff) |
Merge branch 'issue480' of github.com:openscad/openscad into issue480
Conflicts:
tests/CMakeLists.txt
Diffstat (limited to 'tests/regression/echotest/variable-scope-tests-expected.echo')
-rw-r--r-- | tests/regression/echotest/variable-scope-tests-expected.echo | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/regression/echotest/variable-scope-tests-expected.echo b/tests/regression/echotest/variable-scope-tests-expected.echo new file mode 100644 index 0000000..2a82090 --- /dev/null +++ b/tests/regression/echotest/variable-scope-tests-expected.echo @@ -0,0 +1,27 @@ +ECHO: "special variable inheritance" +ECHO: 23, 5 +WARNING: Ignoring unknown variable 'a'. +ECHO: undef +ECHO: 23, 5 +ECHO: "$children scope" +ECHO: "$children should be 1: ", 1 +ECHO: "$children should be 4: ", 4 +ECHO: "$children should be 1: ", 1 +ECHO: "child_module_1 child" +ECHO: "child_module_2 child 0" +ECHO: "child_module_2 child 1" +ECHO: "copy $children" +ECHO: "copy_children_module: ", 2, 2 +ECHO: "inner variables shadows parameter" +ECHO: 5, 24 +ECHO: "user-defined special variables as parameter" +ECHO: 7 +ECHO: 7 +ECHO: "assign only visible in children's scope" +WARNING: Ignoring unknown variable 'c'. +ECHO: undef +ECHO: 5 +ECHO: "undeclared variable can still be passed and used" +ECHO: 6 +ECHO: "attempt to assign from a not-yet-defined variable which also exists globally" +ECHO: 5, 1 |