diff options
-rw-r--r-- | testdata/modulecache-tests/README.txt | 8 | ||||
-rw-r--r-- | testdata/modulecache-tests/mainsubsub.scad | 2 | ||||
-rw-r--r-- | testdata/modulecache-tests/subdir/sub.scad | 5 | ||||
-rw-r--r-- | testdata/modulecache-tests/subdir/subsub.scad | 3 |
4 files changed, 18 insertions, 0 deletions
diff --git a/testdata/modulecache-tests/README.txt b/testdata/modulecache-tests/README.txt index 95bf9d5..3a123e7 100644 --- a/testdata/modulecache-tests/README.txt +++ b/testdata/modulecache-tests/README.txt @@ -135,3 +135,11 @@ o Verify that you get: - WARNING: Failed to compile library '.../error.scad'. - Main file should keep compiling o Verify that the above doesn't repeat + +Test 16: Dependency tracking of underlying dependencies +-------- +o Turn on Automatic Reload and Compile +o Open mainsubsub.scad +o Verify that you see a red cylinder +o edit subdit/subsub.scad: Change color +o Verify that color changes diff --git a/testdata/modulecache-tests/mainsubsub.scad b/testdata/modulecache-tests/mainsubsub.scad new file mode 100644 index 0000000..b87af98 --- /dev/null +++ b/testdata/modulecache-tests/mainsubsub.scad @@ -0,0 +1,2 @@ +use <subdir/sub.scad> +sub(); diff --git a/testdata/modulecache-tests/subdir/sub.scad b/testdata/modulecache-tests/subdir/sub.scad new file mode 100644 index 0000000..bf0fc44 --- /dev/null +++ b/testdata/modulecache-tests/subdir/sub.scad @@ -0,0 +1,5 @@ +use <subsub.scad> + +module sub() { + subsub(); +} diff --git a/testdata/modulecache-tests/subdir/subsub.scad b/testdata/modulecache-tests/subdir/subsub.scad new file mode 100644 index 0000000..c79d608 --- /dev/null +++ b/testdata/modulecache-tests/subdir/subsub.scad @@ -0,0 +1,3 @@ +module subsub() { + color("red") cylinder(r = 10, h = 5); +} |