summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/vpath-directive-dynamic.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/vpath-directive-dynamic.mk')
-rw-r--r--build/pymake/tests/vpath-directive-dynamic.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/pymake/tests/vpath-directive-dynamic.mk b/build/pymake/tests/vpath-directive-dynamic.mk
new file mode 100644
index 000000000..9aa1bf956
--- /dev/null
+++ b/build/pymake/tests/vpath-directive-dynamic.mk
@@ -0,0 +1,12 @@
+$(shell \
+mkdir subd1; \
+touch subd1/test.in; \
+)
+
+VVAR = %.in subd1
+
+vpath $(VVAR)
+
+all: test.in
+ test "$<" = "subd1/test.in"
+ @echo TEST-PASS