Author: grizzlynyo <[email protected]>
Branch: release-1.0
Changeset: r2094:97f3e508a9bb
Date: 2015-05-23 19:08 +0300
http://bitbucket.org/cffi/cffi/changeset/97f3e508a9bb/
Log: fix test failure on Win32 - a function need to be exported to be
callable.
diff --git a/testing/cffi1/test_re_python.py b/testing/cffi1/test_re_python.py
--- a/testing/cffi1/test_re_python.py
+++ b/testing/cffi1/test_re_python.py
@@ -25,8 +25,11 @@
tmpdir.ensure(dir=1)
c_file = tmpdir.join('_test_re_python.c')
c_file.write(SRC)
- ext = ffiplatform.get_extension(str(c_file), '_test_re_python',
- export_symbols=['add42', 'globalvar42'])
+ ext = ffiplatform.get_extension(
+ str(c_file),
+ '_test_re_python',
+ export_symbols=['add42', 'add43', 'globalvar42']
+ )
outputfilename = ffiplatform.compile(str(tmpdir), ext)
mod.extmod = outputfilename
mod.tmpdir = tmpdir
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit