[pypy-commit] pypy default: skipped tests for alloc_raw_storage optimization

bdkearns noreply at buildbot.pypy.org
Mon Mar 17 00:03:39 CET 2014


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r69989:6bfb88a291c0
Date: 2014-03-16 19:02 -0400
http://bitbucket.org/pypy/pypy/changeset/6bfb88a291c0/

Log:	skipped tests for alloc_raw_storage optimization

diff --git a/rpython/jit/metainterp/test/test_rawmem.py b/rpython/jit/metainterp/test/test_rawmem.py
--- a/rpython/jit/metainterp/test/test_rawmem.py
+++ b/rpython/jit/metainterp/test/test_rawmem.py
@@ -1,3 +1,4 @@
+import pytest
 from rpython.jit.metainterp.test.support import LLJitMixin
 from rpython.rtyper.lltypesystem import lltype, rffi
 from rpython.rlib.rawstorage import (alloc_raw_storage, raw_storage_setitem,
@@ -45,6 +46,10 @@
         self.check_operations_history({'call': 2, 'guard_no_exception': 1,
                                        'raw_store': 1, 'raw_load': 1,
                                        'finish': 1})
+        pytest.skip("XXX alloc_raw_storage doesn't generate virtualizable raw buffer")
+        self.metainterp.staticdata.stats.check_resops(
+            {'guard_no_exception': 1, 'finish': 1},
+            omit_finish=False)
 
     def test_raw_storage_float(self):
         def f():
@@ -58,6 +63,10 @@
         self.check_operations_history({'call': 2, 'guard_no_exception': 1,
                                        'raw_store': 1, 'raw_load': 1,
                                        'finish': 1})
+        pytest.skip("XXX alloc_raw_storage doesn't generate virtualizable raw buffer")
+        self.metainterp.staticdata.stats.check_resops(
+            {'guard_no_exception': 1, 'finish': 1},
+            omit_finish=False)
 
     def test_raw_storage_byte(self):
         def f():
@@ -71,6 +80,10 @@
         self.check_operations_history({'call': 2, 'guard_no_exception': 1,
                                        'raw_store': 1, 'raw_load': 1,
                                        'finish': 1})
+        pytest.skip("XXX alloc_raw_storage doesn't generate virtualizable raw buffer")
+        self.metainterp.staticdata.stats.check_resops(
+            {'guard_no_exception': 1, 'finish': 1},
+            omit_finish=False)
 
 
 class TestRawMem(RawMemTests, LLJitMixin):


More information about the pypy-commit mailing list