Author: Maciej Fijalkowski <[email protected]>
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 = """
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to