Author: David Schneider <[email protected]>
Branch: arm-backend-2
Changeset: r49614:1ff3890a1ce8
Date: 2011-11-21 12:01 +0100
http://bitbucket.org/pypy/pypy/changeset/1ff3890a1ce8/

Log:    add ARM to conftest and test_random

diff --git a/pypy/jit/backend/conftest.py b/pypy/jit/backend/conftest.py
--- a/pypy/jit/backend/conftest.py
+++ b/pypy/jit/backend/conftest.py
@@ -12,7 +12,7 @@
                     help="choose a fixed random seed")
     group.addoption('--backend', action="store",
                     default='llgraph',
-                    choices=['llgraph', 'x86'],
+                    choices=['llgraph', 'x86', 'arm'],
                     dest="backend",
                     help="select the backend to run the functions with")
     group.addoption('--block-length', action="store", type="int",
diff --git a/pypy/jit/backend/test/test_random.py 
b/pypy/jit/backend/test/test_random.py
--- a/pypy/jit/backend/test/test_random.py
+++ b/pypy/jit/backend/test/test_random.py
@@ -498,6 +498,9 @@
     elif pytest.config.option.backend == 'x86':
         from pypy.jit.backend.x86.runner import CPU386
         return CPU386(None, None)
+    elif pytest.config.option.backend == 'arm':
+        from pypy.jit.backend.arm.runner import ArmCPU
+        return ArmCPU(None, None)
     else:
         assert 0, "unknown backend %r" % pytest.config.option.backend
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to