Author: Manuel Jacob <m...@manueljacob.de>
Branch: 
Changeset: r82089:e2685b2b1e87
Date: 2016-02-05 17:06 +0100
http://bitbucket.org/pypy/pypy/changeset/e2685b2b1e87/

Log:    Skip vmprof jit tests on non-x86-64 CPUs.

diff --git a/rpython/jit/backend/llsupport/test/zrpy_vmprof_test.py 
b/rpython/jit/backend/llsupport/test/zrpy_vmprof_test.py
--- a/rpython/jit/backend/llsupport/test/zrpy_vmprof_test.py
+++ b/rpython/jit/backend/llsupport/test/zrpy_vmprof_test.py
@@ -9,6 +9,10 @@
 class CompiledVmprofTest(CCompiledMixin):
     CPUClass = getcpuclass()
 
+    def setup(self):
+        if self.CPUClass.backend_name != 'x86_64':
+            py.test.skip("vmprof only supports x86-64 CPUs at the moment")
+
     def _get_TranslationContext(self):
         t = TranslationContext()
         t.config.translation.gc = 'incminimark'
@@ -83,4 +87,4 @@
         except ImportError:
             pass
         else:
-            check_vmprof_output()
\ No newline at end of file
+            check_vmprof_output()
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to