Commits

David Schneider committed 07167ac

Add test_list to the ppc backend

  • Participants
  • Parent commits 3a98709
  • Branches ppc-jit-backend

Comments (0)

Files changed (2)

pypy/jit/backend/ppc/test/support.py

+from pypy.jit.backend.detect_cpu import getcpuclass
+from pypy.jit.metainterp.test import support
+
+class JitPPCMixin(support.LLJitMixin):
+    type_system = 'lltype'
+    CPUClass = getcpuclass()
+
+    def check_jumps(self, maxcount):
+        pass

pypy/jit/backend/ppc/test/test_list.py

+
+from pypy.jit.metainterp.test.test_list import ListTests
+from pypy.jit.backend.ppc.test.support import JitPPCMixin
+
+class TestList(JitPPCMixin, ListTests):
+    # for individual tests see
+    # ====> ../../../metainterp/test/test_list.py
+    pass