diff options
author | Giles Bathgate <gilesbathgate@gmail.com> | 2010-12-10 11:46:09 (GMT) |
---|---|---|
committer | Giles Bathgate <gilesbathgate@gmail.com> | 2010-12-10 11:46:09 (GMT) |
commit | 44dd33a5567681d28adb963d1d325aa86d723130 (patch) | |
tree | 98aee15e23d5f2848960232e845c2cfac3094fef /testdata/scad/sub1 | |
parent | d98e398ec185f87501c1374cc3863457ed450663 (diff) |
Added some tests for new nested include feature.
Diffstat (limited to 'testdata/scad/sub1')
-rw-r--r-- | testdata/scad/sub1/sub2/sub3/include-test4.scad | 4 | ||||
-rw-r--r-- | testdata/scad/sub1/sub2/sub3/sub4/include-test2.scad | 10 | ||||
-rw-r--r-- | testdata/scad/sub1/sub2/sub3/sub4/include-test3.scad | 4 |
3 files changed, 18 insertions, 0 deletions
diff --git a/testdata/scad/sub1/sub2/sub3/include-test4.scad b/testdata/scad/sub1/sub2/sub3/include-test4.scad new file mode 100644 index 0000000..1cb7eab --- /dev/null +++ b/testdata/scad/sub1/sub2/sub3/include-test4.scad @@ -0,0 +1,4 @@ +module test4() +{ + echo("included from include-test4.scad"); +} diff --git a/testdata/scad/sub1/sub2/sub3/sub4/include-test2.scad b/testdata/scad/sub1/sub2/sub3/sub4/include-test2.scad new file mode 100644 index 0000000..9f4c963 --- /dev/null +++ b/testdata/scad/sub1/sub2/sub3/sub4/include-test2.scad @@ -0,0 +1,10 @@ +//Test nested include +include <include-test3.scad> + +//Test relative file location +include <../include-test4.scad> + +module test2 () +{ + echo("included from include-test2.scad"); +} diff --git a/testdata/scad/sub1/sub2/sub3/sub4/include-test3.scad b/testdata/scad/sub1/sub2/sub3/sub4/include-test3.scad new file mode 100644 index 0000000..2f67e93 --- /dev/null +++ b/testdata/scad/sub1/sub2/sub3/sub4/include-test3.scad @@ -0,0 +1,4 @@ +module test3() +{ + echo("included from include-test3.scad"); +} |