Author: David Schneider <[email protected]>
Branch: arm-backed-float
Changeset: r44504:617194cbac27
Date: 2011-05-25 17:45 +0200
http://bitbucket.org/pypy/pypy/changeset/617194cbac27/
Log: (arigo, bivab) run this code only once and not for each testcase,
causing the test to take forever to start running
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
@@ -21,9 +21,11 @@
pass
class TestARM(LLtypeBackendTest):
- def __init__(self):
- self.cpu = ArmCPU(rtyper=None, stats=FakeStats())
- self.cpu.setup_once()
+
+ def setup_class(cls):
+ cls.cpu = ArmCPU(rtyper=None, stats=FakeStats())
+ cls.cpu.setup_once()
+
# for the individual tests see
# ====> ../../test/runner_test.py
def test_result_is_spilled(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit