Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r76536:87f3fee1cc6b
Date: 2015-03-23 16:23 +0100
http://bitbucket.org/pypy/pypy/changeset/87f3fee1cc6b/

Log:    Fix test

diff --git a/rpython/jit/backend/llsupport/test/zrpy_gc_test.py 
b/rpython/jit/backend/llsupport/test/zrpy_gc_test.py
--- a/rpython/jit/backend/llsupport/test/zrpy_gc_test.py
+++ b/rpython/jit/backend/llsupport/test/zrpy_gc_test.py
@@ -223,6 +223,7 @@
 
 class CompileFrameworkTests(BaseFrameworkTests):
     # Test suite using (so far) the minimark GC.
+    can_pin = True
 
 ##    def define_libffi_workaround(cls):
 ##        # XXX: this is a workaround for a bug in database.py.  It seems that
@@ -921,6 +922,8 @@
         return None, fn, None
 
     def test_pinned_simple(self):
+        if not self.can_pin:
+            py.test.skip("not in this configuration")
         self.run('pinned_simple')
 
     def define_pinned_unpin(cls):
@@ -965,6 +968,8 @@
         return None, fn, after
 
     def test_pinned_unpin(self):
+        if not self.can_pin:
+            py.test.skip("not in this configuration")
         self.run('pinned_unpin')
 
     def define_multiple_pinned(cls):
@@ -1012,4 +1017,6 @@
         return None, fn, None
 
     def test_multiple_pinned(self):
+        if not self.can_pin:
+            py.test.skip("not in this configuration")
         self.run('multiple_pinned')
diff --git a/rpython/jit/backend/x86/test/test_zrpy_gc.py 
b/rpython/jit/backend/x86/test/test_zrpy_gc.py
--- a/rpython/jit/backend/x86/test/test_zrpy_gc.py
+++ b/rpython/jit/backend/x86/test/test_zrpy_gc.py
@@ -3,6 +3,7 @@
 
 class TestSTMShadowStack(CompileFrameworkTests):
     gcrootfinder = "stm"
+    can_pin = False
 
 
 class TestShadowStack(CompileFrameworkTests):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to