Commits

David Schneider committed e65ae24

fix to correctly skip runner_test tests for ARM on other platforms

  • Participants
  • Parent commits ec98179
  • Branches arm-backend-2

Comments (0)

Files changed (1)

pypy/jit/backend/arm/test/test_runner.py

 import py
-from pypy.jit.backend.arm.runner import ArmCPU
+from pypy.jit.backend.detect_cpu import getcpuclass
 from pypy.jit.backend.arm.arch import WORD
 from pypy.jit.backend.test.runner_test import LLtypeBackendTest, \
                                                 boxfloat, \
 from pypy.jit.metainterp.history import JitCellToken, TargetToken
 
 
+CPU = getcpuclass()
+
 class FakeStats(object):
     pass
 
     bridge_loop_instructions = ['movw', 'movt', 'bx']
 
     def setup_method(self, meth):
-        self.cpu = ArmCPU(rtyper=None, stats=FakeStats())
+        self.cpu = CPU(rtyper=None, stats=FakeStats())
         self.cpu.setup_once()
 
     def test_result_is_spilled(self):