gecko/build/pymake/tests/native-command-delay-load.mk
Gregory Szorc f01fffba21 Bug 951736 - Adjust sys.path while native commands are executed; r=ted
The previous behavior only adjusted sys.path during module import. This
caused problems when there were delayed imports.

--HG--
extra : rebase_source : ca331f6da5f4e69ae74e8e831a41b12405fdd7fc
extra : amend_source : e0bd180a6fe5b5f64b2b8860f85887a9fd5b848e
2013-12-18 09:45:56 -08:00

13 lines
247 B
Makefile

#T gmake skip
# This test exists to verify that sys.path is adjusted during command
# execution and that delay importing a module will work.
CMD = %pycmd delayloadfn
PYCOMMANDPATH = $(TESTPATH) $(TESTPATH)/subdir
all:
$(CMD)
@echo TEST-PASS