]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
transfer any PYTHONPATH environment variable to the environment of the foolscap tests
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 1 May 2007 06:19:47 +0000 (23:19 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 1 May 2007 06:19:47 +0000 (23:19 -0700)
GNUmakefile

index 41f684a7bca5677481cddd7a185f3521028ee6b3..07b187d85bab3988190c8752c8d5ec5b1ba00007 100644 (file)
@@ -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)