[pypy-commit] pypy default: Don't disable the whole test collection on non-ARM CPUs

rlamy noreply at buildbot.pypy.org
Sun Jul 7 03:50:28 CEST 2013


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: 
Changeset: r65247:3fc9da9637c3
Date: 2013-07-07 03:49 +0200
http://bitbucket.org/pypy/pypy/changeset/3fc9da9637c3/

Log:	Don't disable the whole test collection on non-ARM CPUs

diff --git a/rpython/jit/backend/arm/test/conftest.py b/rpython/jit/backend/arm/test/conftest.py
--- a/rpython/jit/backend/arm/test/conftest.py
+++ b/rpython/jit/backend/arm/test/conftest.py
@@ -16,7 +16,5 @@
                     dest="run_translation_tests",
                     help="run tests that translate code")
 
-def pytest_collect_directory(path, parent):
-    if not cpu.startswith('arm'):
-        py.test.skip("ARM(v7) tests skipped: cpu is %r" % (cpu,))
-pytest_collect_file = pytest_collect_directory
+def pytest_ignore_collect(path, config):
+    return not cpu.startswith('arm')


More information about the pypy-commit mailing list