Author: Armin Rigo <ar...@tunes.org> Branch: vmprof-review Changeset: r78740:3776642bc6fc Date: 2015-08-02 15:58 +0200 http://bitbucket.org/pypy/pypy/changeset/3776642bc6fc/
Log: Skip running the tests based on platform diff --git a/rpython/rlib/rvmprof/test/test_rvmprof.py b/rpython/rlib/rvmprof/test/test_rvmprof.py --- a/rpython/rlib/rvmprof/test/test_rvmprof.py +++ b/rpython/rlib/rvmprof/test/test_rvmprof.py @@ -1,5 +1,10 @@ +import py from rpython.rlib.rvmprof import get_vmprof, vmprof_execute_code from rpython.translator.c.test.test_genc import compile +from rpython.jit.backend import detect_cpu + +if detect_cpu.autodetect() != detect_cpu.MODEL_X86_64: + py.test.skip("rvmprof only supports x86-64 CPUs for now") def test_vmprof_execute_code_1(): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit