summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/native-command-delay-load.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/native-command-delay-load.mk')
-rw-r--r--build/pymake/tests/native-command-delay-load.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/pymake/tests/native-command-delay-load.mk b/build/pymake/tests/native-command-delay-load.mk
new file mode 100644
index 000000000..a9f3774eb
--- /dev/null
+++ b/build/pymake/tests/native-command-delay-load.mk
@@ -0,0 +1,12 @@
+#T gmake skip
+
+# This test exists to verify that sys.path is adjusted during command
+# execution and that delay importing a module will work.
+
+CMD = %pycmd delayloadfn
+PYCOMMANDPATH = $(TESTPATH) $(TESTPATH)/subdir
+
+all:
+ $(CMD)
+ @echo TEST-PASS
+