diff options
author | Marius Kintel <marius@kintel.net> | 2012-01-14 02:25:09 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-01-14 02:25:09 (GMT) |
commit | 10701f71581bd4053ab328254d6abacd6956b498 (patch) | |
tree | 235e93f614c1d2d15d9e6b445a632af5d2f3d2c4 /testdata/scad/features/include-tests.scad | |
parent | 26c9514b70cee4d49ea5441c50dabbda2631e9fa (diff) |
Added absolute path tests to include and use tests, fixed bug using absolute paths in use and include
Diffstat (limited to 'testdata/scad/features/include-tests.scad')
-rw-r--r-- | testdata/scad/features/include-tests.scad | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/testdata/scad/features/include-tests.scad b/testdata/scad/features/include-tests.scad deleted file mode 100644 index fc4e9d0..0000000 --- a/testdata/scad/features/include-tests.scad +++ /dev/null @@ -1,40 +0,0 @@ -//Test that the entire path is pushed onto the stack upto the last '/' -include <sub1/sub2/sub3/sub4/include-test2.scad> - -//Test that a non existent path/file doesn't screw things up -include <non/existent/path/non-file> - -//Test with empty path -include <include-test5.scad> - -//Test without preceding space -include<include-test5.scad> - -//Test with other strange character that is allowed -include>>>>><include-test5.scad> - -//Test that filenames with spaces work -include <include test6.scad> - -//Test with empty file -include<test/> - -//Test with empty path and file -include </> - -//Test with empty -include <> - -module test1() -{ - test2(); - translate([2,0,0]) test3(); - translate([2,-2,0]) test4(); - translate([-2,0,0]) test5(); - translate([-2,-2,0]) test6(); - - //Just to give a top level object - translate([0,-2,0]) sphere(test2_variable, $fn=16); -} - -test1(); |