[pypy-commit] pypy ppc-jit-backend: skip test_read_timestamp in test_basic if the backend does not support longlong
bivab
noreply at buildbot.pypy.org
Wed Jul 25 16:12:21 CEST 2012
Author: David Schneider <david.schneider at picle.org>
Branch: ppc-jit-backend
Changeset: r56446:87f124c1fc3e
Date: 2012-07-25 07:04 -0700
http://bitbucket.org/pypy/pypy/changeset/87f124c1fc3e/
Log: skip test_read_timestamp in test_basic if the backend does not
support longlong
diff --git a/pypy/jit/backend/ppc/test/test_basic.py b/pypy/jit/backend/ppc/test/test_basic.py
--- a/pypy/jit/backend/ppc/test/test_basic.py
+++ b/pypy/jit/backend/ppc/test/test_basic.py
@@ -3,10 +3,13 @@
from pypy.rlib.jit import JitDriver
from pypy.jit.metainterp.test import test_ajit
from pypy.jit.backend.ppc.test.support import JitPPCMixin
+from pypy.jit.backend.detect_cpu import getcpuclass
+
+CPU = getcpuclass()
class TestBasic(JitPPCMixin, test_ajit.BaseLLtypeTests):
# for the individual tests see
- # ====> ../../../metainterp/test/test_basic.py
+ # ====> ../../../metainterp/test/test_ajit.py
def test_bug(self):
jitdriver = JitDriver(greens = [], reds = ['n'])
class X(object):
@@ -31,3 +34,7 @@
def test_free_object(self):
py.test.skip("issue of freeing, probably with ll2ctypes")
+
+ if not CPU.supports_longlong:
+ def test_read_timestamp(self):
+ py.test.skip('requires longlong')
More information about the pypy-commit
mailing list