Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r64712:663474f13069
Date: 2013-06-02 18:32 +0200
http://bitbucket.org/pypy/pypy/changeset/663474f13069/

Log:    Fix for x86/test/test_fficall on Windows: use a value for "abi" that
        makes sense for the backend in this test.

diff --git a/rpython/jit/metainterp/test/test_fficall.py 
b/rpython/jit/metainterp/test/test_fficall.py
--- a/rpython/jit/metainterp/test/test_fficall.py
+++ b/rpython/jit/metainterp/test/test_fficall.py
@@ -17,7 +17,7 @@
 def get_description(atypes, rtype):
     p = lltype.malloc(CIF_DESCRIPTION, len(atypes),
                       flavor='raw', immortal=True)
-    p.abi = 42
+    p.abi = 1     # default
     p.nargs = len(atypes)
     p.rtype = rtype
     p.atypes = lltype.malloc(FFI_TYPE_PP.TO, len(atypes),
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to