summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/native-environment.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build/pymake/tests/native-environment.mk')
-rw-r--r--build/pymake/tests/native-environment.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/pymake/tests/native-environment.mk b/build/pymake/tests/native-environment.mk
new file mode 100644
index 000000000..36bd5894a
--- /dev/null
+++ b/build/pymake/tests/native-environment.mk
@@ -0,0 +1,11 @@
+#T gmake skip
+export EXPECTED := some data
+
+PYCOMMANDPATH = $(TESTPATH)
+
+all:
+ %pycmd writeenvtofile results EXPECTED
+ test "$$(cat results)" = "$(EXPECTED)"
+ %pycmd writesubprocessenvtofile results EXPECTED
+ test "$$(cat results)" = "$(EXPECTED)"
+ @echo TEST-PASS