Commit 841f74ae authored by Armin Rigo's avatar Armin Rigo
Browse files

skip this test on non-x86 platforms

--HG--
branch : int-test-is-zero
parent f2afd59f9872
import py, sys import py, sys
import platform
from pypy.module.pypyjit.test_pypy_c.test_00_model import BaseTestPyPyC from pypy.module.pypyjit.test_pypy_c.test_00_model import BaseTestPyPyC
...@@ -422,6 +423,9 @@ class TestMisc(BaseTestPyPyC): ...@@ -422,6 +423,9 @@ class TestMisc(BaseTestPyPyC):
assert len(loops) == 1 assert len(loops) == 1
def test_bit_check(self): def test_bit_check(self):
if not platform.machine().startswith('x86'):
py.test.skip("only x86 supports int_test_instructions for now")
def main(n): def main(n):
x = 0 x = 0
while n: while n:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment