Author: Armin Rigo <[email protected]>
Branch: int-test-is-zero
Changeset: r98068:bbc157fc2398
Date: 2019-11-16 14:09 +0100
http://bitbucket.org/pypy/pypy/changeset/bbc157fc2398/
Log: skip this test on non-x86 platforms
diff --git a/pypy/module/pypyjit/test_pypy_c/test_misc.py
b/pypy/module/pypyjit/test_pypy_c/test_misc.py
--- a/pypy/module/pypyjit/test_pypy_c/test_misc.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_misc.py
@@ -1,4 +1,5 @@
import py, sys
+import platform
from pypy.module.pypyjit.test_pypy_c.test_00_model import BaseTestPyPyC
@@ -422,6 +423,9 @@
assert len(loops) == 1
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):
x = 0
while n:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit