[pypy-commit] pypy better-jit-hooks: skip pointless test on llgraph

fijal noreply at buildbot.pypy.org
Thu Jan 5 21:54:03 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: better-jit-hooks
Changeset: r51045:404a51debbaa
Date: 2012-01-05 22:53 +0200
http://bitbucket.org/pypy/pypy/changeset/404a51debbaa/

Log:	skip pointless test on llgraph

diff --git a/pypy/jit/backend/test/runner_test.py b/pypy/jit/backend/test/runner_test.py
--- a/pypy/jit/backend/test/runner_test.py
+++ b/pypy/jit/backend/test/runner_test.py
@@ -2976,6 +2976,9 @@
         assert res == -10
 
     def test_compile_asmlen(self):
+        from pypy.jit.backend.llsupport.llmodel import AbstractLLCPU
+        if not isinstance(self.cpu, AbstractLLCPU):
+            py.test.skip("pointless test on non-asm")
         from pypy.jit.backend.x86.tool.viewcode import machine_code_dump
         import ctypes
         ops = """


More information about the pypy-commit mailing list