summaryrefslogtreecommitdiff
path: root/python/pymake/tests/submake-path.mk
diff options
context:
space:
mode:
Diffstat (limited to 'python/pymake/tests/submake-path.mk')
-rw-r--r--python/pymake/tests/submake-path.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/python/pymake/tests/submake-path.mk b/python/pymake/tests/submake-path.mk
new file mode 100644
index 000000000..b6432276d
--- /dev/null
+++ b/python/pymake/tests/submake-path.mk
@@ -0,0 +1,16 @@
+#T gmake skip
+#T grep-for: "2f7cdd0b-7277-48c1-beaf-56cb0dbacb24"
+
+ifdef __WIN32__
+PS:=;
+else
+PS:=:
+endif
+
+export PATH := $(TESTPATH)/pathdir$(PS)$(PATH)
+
+# This is similar to subprocess-path.mk, except we also check $(shell)
+# invocations since they're affected by exported environment variables too,
+# but only in submakes!
+all:
+ $(MAKE) -f $(TESTPATH)/submake-path.makefile2