##// END OF EJS Templates
run-tests: don't replace PYTHONPATH, just augment it....
Greg Ward -
r8687:78ab2a12 default
parent child Browse files
Show More
@@ -755,9 +755,12 b' def main():'
755 path = [BINDIR] + os.environ["PATH"].split(os.pathsep)
755 path = [BINDIR] + os.environ["PATH"].split(os.pathsep)
756 os.environ["PATH"] = os.pathsep.join(path)
756 os.environ["PATH"] = os.pathsep.join(path)
757
757
758 # Deliberately override existing PYTHONPATH: do not want success
758 # We have to augment PYTHONPATH, rather than simply replacing
759 # to depend on what happens to be in caller's environment.
759 # it, in case external libraries are only available via current
760 os.environ["PYTHONPATH"] = PYTHONDIR
760 # PYTHONPATH. (In particular, the Subversion bindings on OS X
761 # are in /opt/subversion.)
762 os.environ["PYTHONPATH"] = (PYTHONDIR + os.pathsep +
763 os.environ.get("PYTHONPATH", ""))
761
764
762 COVERAGE_FILE = os.path.join(TESTDIR, ".coverage")
765 COVERAGE_FILE = os.path.join(TESTDIR, ".coverage")
763
766
General Comments 0
You need to be logged in to leave comments. Login now