[pypy-commit] pypy default: skip if no asmgcc
mattip
noreply at buildbot.pypy.org
Mon Apr 7 17:33:42 CEST 2014
Author: Matti Picus <matti.picus at gmail.com>
Branch:
Changeset: r70482:415af8580183
Date: 2014-04-07 17:45 +0300
http://bitbucket.org/pypy/pypy/changeset/415af8580183/
Log: skip if no asmgcc
diff --git a/rpython/jit/backend/llsupport/test/ztranslation_test.py b/rpython/jit/backend/llsupport/test/ztranslation_test.py
--- a/rpython/jit/backend/llsupport/test/ztranslation_test.py
+++ b/rpython/jit/backend/llsupport/test/ztranslation_test.py
@@ -1,4 +1,4 @@
-import os, sys
+import os, sys, py
from rpython.tool.udir import udir
from rpython.rlib.jit import JitDriver, unroll_parameters, set_param
from rpython.rlib.jit import PARAMETERS, dont_look_inside
@@ -7,7 +7,7 @@
from rpython.jit.backend.detect_cpu import getcpuclass
from rpython.jit.backend.test.support import CCompiledMixin
from rpython.jit.codewriter.policy import StopAtXPolicy
-
+from rpython.config.config import ConfigError
class TranslationTest(CCompiledMixin):
CPUClass = getcpuclass()
@@ -252,6 +252,9 @@
try:
res = self.meta_interp(main, [400])
assert res == main(400)
+ except ConfigError,e:
+ assert str(e).startswith('invalid value asmgcc')
+ py.test.skip('asmgcc not supported')
finally:
del os.environ['PYPYLOG']
More information about the pypy-commit
mailing list