Author: David Schneider <[email protected]>
Branch: remove-globals-in-jit
Changeset: r59670:0c732f14fcb4
Date: 2012-12-20 15:42 +0100
http://bitbucket.org/pypy/pypy/changeset/0c732f14fcb4/
Log: update 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
@@ -60,8 +60,8 @@
]
cpu.compile_loop(inp, operations, looptoken)
args = [i for i in range(1, 15)]
- self.cpu.execute_token(looptoken, *args)
- output = [self.cpu.get_latest_value_int(i - 1) for i in range(1, 15)]
+ deadframe = self.cpu.execute_token(looptoken, *args)
+ output = [self.cpu.get_latest_value_int(deadframe, i - 1) for i in
range(1, 15)]
expected = [3, 7, 11, 15, 19, 23, 27, 3, 7, 11, 15, 19, 23, 27]
assert output == expected
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit