Source

pypy / rpython / translator / c / gcc / test / conftest.py

Full commit
1
2
3
4
5
6
import py
from rpython.jit.backend import detect_cpu
cpu = detect_cpu.autodetect()
def pytest_runtest_setup(item):
    if not cpu.startswith('x86'):
        py.test.skip("x86 directory skipped: cpu is %r" % (cpu,))