Author: David Schneider <[email protected]>
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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to