summaryrefslogtreecommitdiff
path: root/python/pymake/tests/native-environment.mk
blob: 36bd5894a096d52a0ebffdd8d5f45adf6d78dd4e (plain)
1
2
3
4
5
6
7
8
9
10
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