[pypy-commit] pypy ppc-jit-backend: Use an updated copy of the environment instead of an empty one to run the boehm test in order to support custom LD_LIBRARY_PATH settings
bivab
noreply at buildbot.pypy.org
Mon Mar 12 17:58:16 CET 2012
Author: David Schneider <david.schneider at picle.org>
Branch: ppc-jit-backend
Changeset: r53322:5db6ea8f36e8
Date: 2012-03-12 09:57 -0700
http://bitbucket.org/pypy/pypy/changeset/5db6ea8f36e8/
Log: Use an updated copy of the environment instead of an empty one to
run the boehm test in order to support custom LD_LIBRARY_PATH
settings
diff --git a/pypy/jit/backend/ppc/test/test_zrpy_gc.py b/pypy/jit/backend/ppc/test/test_zrpy_gc.py
--- a/pypy/jit/backend/ppc/test/test_zrpy_gc.py
+++ b/pypy/jit/backend/ppc/test/test_zrpy_gc.py
@@ -119,7 +119,9 @@
def run(cbuilder, args=''):
#
pypylog = udir.join('test_zrpy_gc.log')
- data = cbuilder.cmdexec(args, env={'PYPYLOG': ':%s' % pypylog})
+ env = os.environ.copy()
+ env.update({'PYPYLOG': ':%s' % pypylog})
+ data = cbuilder.cmdexec(args, env=env)
return data.strip()
def compile_and_run(f, gc, **kwds):
More information about the pypy-commit
mailing list