gecko/build/pymake/tests/native-environment.mk
Siddharth Agarwal 3d8d42e709 Bug 782847 - Pymake native commands don't pass the correct environment to subprocesses. r=gps DONTBUILD
This change is technically backwards incompatible, but it brings native command
behavior in line with subprocess behavior.

--HG--
extra : rebase_source : a1cd4580ce7023f3c11eba8715133cdce116d984
2012-08-22 02:48:11 +05:30

12 lines
265 B
Makefile

#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