Author: David Schneider <david.schnei...@picle.org> Branch: arm-backend-2 Changeset: r56564:16c1093e3d79 Date: 2012-08-03 13:20 +0200 http://bitbucket.org/pypy/pypy/changeset/16c1093e3d79/
Log: reduce the number of iterations for this test on ARM diff --git a/pypy/jit/backend/test/test_zll_stress.py b/pypy/jit/backend/test/test_zll_stress.py --- a/pypy/jit/backend/test/test_zll_stress.py +++ b/pypy/jit/backend/test/test_zll_stress.py @@ -1,12 +1,18 @@ from pypy.jit.backend.test.test_random import check_random_function, Random from pypy.jit.backend.test.test_ll_random import LLtypeOperationBuilder from pypy.jit.backend.detect_cpu import getcpuclass +import platform() CPU = getcpuclass() +iterations = 1000 +if platform.machine().startwith('arm'): + iterations = 100 + + def test_stress(): cpu = CPU(None, None) cpu.setup_once() r = Random() - for i in range(1000): - check_random_function(cpu, LLtypeOperationBuilder, r, i, 1000) + for i in range(iterations): + check_random_function(cpu, LLtypeOperationBuilder, r, i, iterations) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit