Author: David Schneider <[email protected]>
Branch: 
Changeset: r63440:864116505c2a
Date: 2013-04-17 08:55 +0200
http://bitbucket.org/pypy/pypy/changeset/864116505c2a/

Log:    skip ARM tests on other architectures during collection, avoiding to
        load the files

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,6 +16,7 @@
                     dest="run_translation_tests",
                     help="run tests that translate code")
 
-def pytest_runtest_setup(item):
+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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to