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/use-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/use-tests.scad')
-rw-r--r-- | testdata/scad/features/use-tests.scad | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/testdata/scad/features/use-tests.scad b/testdata/scad/features/use-tests.scad deleted file mode 100644 index 64af692..0000000 --- a/testdata/scad/features/use-tests.scad +++ /dev/null @@ -1,39 +0,0 @@ -//Test that the entire path is pushed onto the stack upto the last '/' -use <sub1/sub2/sub3/sub4/use-test2.scad> - -//Test that a non existent path/file doesn't screw things up -use <non/existent/path/non-file> - -//Test with empty path -use <use-test5.scad> - -//Test without preceding space -use<use-test5.scad> - -//Test with other strange character that is allowed -use>>>>><use-test5.scad> - -//Test that filenames with spaces work -use <use test6.scad> - -//Test with empty file -use<test/> - -//Test with empty path and file -use </> - -module test1() -{ - test2(); - // test3() and test4() are not directly included and thus not imported into - // this scope - translate([4,0,0]) test3(); - translate([4,-2,0]) test4(); - translate([-2,0,0]) test5(); - translate([-2,-2,0]) test6(); - - // test2_variable won't be visible - translate([0,-2,0]) sphere(test2_variable, $fn=16); -} - -test1(); |