Author: David Schneider <[email protected]>
Branch: arm-backend-2
Changeset: r48427:2df0dec0a518
Date: 2011-10-25 12:11 +0200
http://bitbucket.org/pypy/pypy/changeset/2df0dec0a518/
Log: fix test
diff --git a/pypy/jit/backend/arm/test/test_runner.py
b/pypy/jit/backend/arm/test/test_runner.py
--- a/pypy/jit/backend/arm/test/test_runner.py
+++ b/pypy/jit/backend/arm/test/test_runner.py
@@ -167,13 +167,13 @@
('y19', lltype.Signed), ('y20', lltype.Signed),
('float', lltype.Float)))
- T = lltype.GcStruct('T', ('parent', SFloat),
+ TFloat = lltype.GcStruct('TFloat', ('parent', SFloat),
('next', lltype.Ptr(SFloat)))
def test_float_field(self):
if not self.cpu.supports_floats:
py.test.skip('requires floats')
floatdescr = self.cpu.fielddescrof(self.SFloat, 'float')
- t_box, T_box = self.alloc_instance(self.T)
+ t_box, T_box = self.alloc_instance(self.TFloat)
self.execute_operation(rop.SETFIELD_GC, [t_box, boxfloat(3.4)],
'void', descr=floatdescr)
res = self.execute_operation(rop.GETFIELD_GC, [t_box],
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit