[pypy-commit] pypy arm-backend-2: import test_ajit tests from x86 backend
bivab
noreply at buildbot.pypy.org
Thu Jul 19 08:57:37 CEST 2012
Author: David Schneider <david.schneider at picle.org>
Branch: arm-backend-2
Changeset: r56211:0fffe7f2e840
Date: 2012-07-16 16:19 +0200
http://bitbucket.org/pypy/pypy/changeset/0fffe7f2e840/
Log: import test_ajit tests from x86 backend
diff --git a/pypy/jit/backend/x86/test/test_basic.py b/pypy/jit/backend/arm/test/test_basic.py
copy from pypy/jit/backend/x86/test/test_basic.py
copy to pypy/jit/backend/arm/test/test_basic.py
--- a/pypy/jit/backend/x86/test/test_basic.py
+++ b/pypy/jit/backend/arm/test/test_basic.py
@@ -1,20 +1,11 @@
import py
-from pypy.jit.backend.detect_cpu import getcpuclass
-from pypy.jit.metainterp.warmspot import ll_meta_interp
-from pypy.jit.metainterp.test import support, test_ajit
-from pypy.jit.codewriter.policy import StopAtXPolicy
+from pypy.jit.metainterp.test import test_ajit
from pypy.rlib.jit import JitDriver
+from pypy.jit.backend.arm.test.support import JitARMMixin
-class Jit386Mixin(support.LLJitMixin):
- type_system = 'lltype'
- CPUClass = getcpuclass()
-
- def check_jumps(self, maxcount):
- pass
-
-class TestBasic(Jit386Mixin, test_ajit.BaseLLtypeTests):
+class TestBasic(JitARMMixin, test_ajit.BaseLLtypeTests):
# for the individual tests see
- # ====> ../../../metainterp/test/test_basic.py
+ # ====> ../../../metainterp/test/test_ajit.py
def test_bug(self):
jitdriver = JitDriver(greens = [], reds = ['n'])
class X(object):
More information about the pypy-commit
mailing list