summaryrefslogtreecommitdiffstats
path: root/build/pymake/tests/native-pycommandpath.mk
blob: dd0fbc9f9bcd5a17514ff0c4b5d5d6bd1c0341f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#T gmake skip
EXPECTED := some data

# verify that we can load native command modules from
# multiple space-separated directories in PYCOMMANDPATH
CMD = %pycmd writetofile
CMD2 = %pymod writetofile
PYCOMMANDPATH = $(TESTPATH) $(TESTPATH)/subdir

all:
	$(CMD) results $(EXPECTED)
	test "$$(cat results)" = "$(EXPECTED)"
	$(CMD2) results2 $(EXPECTED)
	test "$$(cat results2)" = "$(EXPECTED)"
	@echo TEST-PASS