Author: David Schneider <david.schnei...@picle.org>
Branch: 
Changeset: r62721:5653a9fd7594
Date: 2013-03-24 11:33 +0200
http://bitbucket.org/pypy/pypy/changeset/5653a9fd7594/

Log:    fix test

diff --git a/rpython/jit/backend/arm/test/test_trace_operations.py 
b/rpython/jit/backend/arm/test/test_trace_operations.py
--- a/rpython/jit/backend/arm/test/test_trace_operations.py
+++ b/rpython/jit/backend/arm/test/test_trace_operations.py
@@ -26,12 +26,11 @@
         ops = '''
         [i0]
         i1 = int_add(i0, 1)
-        finish(i1, ConstPtr(ptr0))
+        finish(ConstPtr(ptr0))
         '''
-        self.interpret(ops, [99])
-        assert self.getint(0) == 100
-        ptr = self.cpu.get_latest_value_ref(1)
-        assert self.ptr0 == ptr
+        loop = self.interpret(ops, [99])
+        ptr = self.getptr(0, lltype.Ptr(self.S))
+        assert self.struct_ptr == ptr
 
     def test_getfield_with_offset_gt_one_byte(self):
         self.struct_ptr.int1049 = 666
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to