Author: Armin Rigo <[email protected]>
Branch: static-callback-embedding
Changeset: r2557:260f5be65f3f
Date: 2016-01-08 17:09 +0100
http://bitbucket.org/cffi/cffi/changeset/260f5be65f3f/
Log: try
diff --git a/testing/embedding/test_basic.py b/testing/embedding/test_basic.py
--- a/testing/embedding/test_basic.py
+++ b/testing/embedding/test_basic.py
@@ -103,7 +103,10 @@
libpath = path
env['LD_LIBRARY_PATH'] = libpath
print('running %r in %r' % (name, path))
- popen = subprocess.Popen([name], cwd=path, env=env,
+ executable_name = name
+ if sys.platform == 'win32':
+ executable_name += '.exe'
+ popen = subprocess.Popen([executable_name], cwd=path, env=env,
stdout=subprocess.PIPE,
universal_newlines=True)
result = popen.stdout.read()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit