[pypy-svn] r48798 - in pypy/dist/pypy/translator/llvm: . test
rxe at codespeak.net
rxe at codespeak.net
Mon Nov 19 16:31:37 CET 2007
Author: rxe
Date: Mon Nov 19 16:31:35 2007
New Revision: 48798
Modified:
pypy/dist/pypy/translator/llvm/database.py
pypy/dist/pypy/translator/llvm/opwriter.py
pypy/dist/pypy/translator/llvm/test/runtest.py
pypy/dist/pypy/translator/llvm/test/test_rbuiltin.py
Log:
tests run on 2.0 as well. enable isolate again. remove some print
Modified: pypy/dist/pypy/translator/llvm/database.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/database.py (original)
+++ pypy/dist/pypy/translator/llvm/database.py Mon Nov 19 16:31:35 2007
@@ -430,7 +430,6 @@
def repr_char(self, type_, value):
x = ord(value)
- print x
if x >= 128:
# XXX check this really works
r = "trunc (i16 %s to i8)" % x
Modified: pypy/dist/pypy/translator/llvm/opwriter.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/opwriter.py (original)
+++ pypy/dist/pypy/translator/llvm/opwriter.py Mon Nov 19 16:31:35 2007
@@ -384,7 +384,6 @@
def setinteriorfield(self, opr):
op = opr.op
if opr.argtypes[-1] != "void":
- print op.args, op.args[1:-1]
_, indices = self.to_getelementptr(op.args[0].concretetype.TO, op.args[1:-1])
tmpvar = self._tmp()
self.codewriter.getelementptr(tmpvar, opr.argtypes[0], opr.argrefs[0], indices)
Modified: pypy/dist/pypy/translator/llvm/test/runtest.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/test/runtest.py (original)
+++ pypy/dist/pypy/translator/llvm/test/runtest.py Mon Nov 19 16:31:35 2007
@@ -9,14 +9,14 @@
optimize_tests = False
native_llvm_backend = True
-MINIMUM_LLVM_VERSION = 2.1
+MINIMUM_LLVM_VERSION = 2.0
FLOAT_PRECISION = 8
# prevents resource leaking
-use_isolate = False
+use_isolate = True
# if test can't be run using isolate, skip the test (useful for buildbots)
-run_isolated_only = False
+run_isolated_only = True
from pypy import conftest
Modified: pypy/dist/pypy/translator/llvm/test/test_rbuiltin.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/test/test_rbuiltin.py (original)
+++ pypy/dist/pypy/translator/llvm/test/test_rbuiltin.py Mon Nov 19 16:31:35 2007
@@ -4,9 +4,14 @@
from pypy.translator.llvm.test.runtest import *
class TestLLVMBuiltin(LLVMTest, BaseTestRbuiltin):
+ def _isolate_skip(self):
+ py.test.skip("XXX isolate specialize this")
+
def _skip(self):
py.test.skip("XXX specialize this")
+ test_os_write = _isolate_skip
+ test_os_write_single_char = _isolate_skip
test_os_dup = _skip
test_os_open = _skip
test_debug_llinterpcall = _skip
More information about the Pypy-commit
mailing list