1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/build/pymake/tests/native-pycommandpath.mk Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,15 @@ 1.4 +#T gmake skip 1.5 +EXPECTED := some data 1.6 + 1.7 +# verify that we can load native command modules from 1.8 +# multiple space-separated directories in PYCOMMANDPATH 1.9 +CMD = %pycmd writetofile 1.10 +CMD2 = %pymod writetofile 1.11 +PYCOMMANDPATH = $(TESTPATH) $(TESTPATH)/subdir 1.12 + 1.13 +all: 1.14 + $(CMD) results $(EXPECTED) 1.15 + test "$$(cat results)" = "$(EXPECTED)" 1.16 + $(CMD2) results2 $(EXPECTED) 1.17 + test "$$(cat results2)" = "$(EXPECTED)" 1.18 + @echo TEST-PASS