summaryrefslogtreecommitdiff
path: root/build/pymake/tests/native-pycommandpath-sep.mk
blob: b1c2c2b97eae4940cc33443d8198a522262b230b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#T gmake skip
EXPECTED := some data

# verify that we can load native command modules from
# multiple directories in PYCOMMANDPATH separated by the native
# path separator
ifdef __WIN32__
PS:=;
else
PS:=:
endif
CMD = %pycmd writetofile
CMD2 = %pymod writetofile
PYCOMMANDPATH = $(TESTPATH)$(PS)$(TESTPATH)/subdir

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