mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 10:46:24 +00:00
transfer any PYTHONPATH environment variable to the environment of the foolscap tests
This commit is contained in:
parent
e697c84df1
commit
cf331e4d9f
@ -35,6 +35,8 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
ORIGPYTHONPATH=$(PYTHONPATH)
|
||||
|
||||
# Append instdir/lib instead of prepending it so that people can override
|
||||
# things from lib with alternate packages of their choosing by setting their
|
||||
# PYTHONPATH.
|
||||
@ -119,7 +121,7 @@ REPORTER=
|
||||
test: build test-foolscap test-TEST
|
||||
|
||||
test-foolscap:
|
||||
cd src/foolscap && $(TRIAL) $(REPORTER) foolscap
|
||||
cd src/foolscap && PYTHONPATH=$(ORIGPYTHONPATH) $(TRIAL) $(REPORTER) foolscap
|
||||
|
||||
test-TEST:
|
||||
$(PP) $(TRIAL) $(REPORTER) $(TEST)
|
||||
|
Loading…
Reference in New Issue
Block a user