build/pymake/tests/native-pycommandpath.mk
author Simon Sapin <simon.sapin@exyr.org>
Tue, 06 Jun 2017 08:13:39 -0700
changeset 1150023 c6508a9f0fb5f1648b37f299be7f3e481cb26c31
parent 48935 f2c04d62dc9c99a524c2d152322c13f7e26d6ab8
permissions -rw-r--r--
servo: Merge #17185 - Fix some "unused" warnings (from servo:unused); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: 87005a0df33531995635728989c929572de429e7

#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