Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r87696:4267c2a8a2f8
Date: 2016-10-10 16:53 +0100
http://bitbucket.org/pypy/pypy/changeset/4267c2a8a2f8/

Log:    xfail segfaulting tests

diff --git a/pypy/module/cpyext/test/test_pystate.py 
b/pypy/module/cpyext/test/test_pystate.py
--- a/pypy/module/cpyext/test/test_pystate.py
+++ b/pypy/module/cpyext/test/test_pystate.py
@@ -150,6 +150,7 @@
 
 class AppTestState(AppTestCpythonExtensionBase):
 
+    @pytest.mark.xfail('not config.option.runappdirect', reason='segfaults', 
run=False)
     def test_frame_tstate_tracing(self):
         import sys, threading
         module = self.import_extension('foo', [
diff --git a/pypy/module/cpyext/test/test_thread.py 
b/pypy/module/cpyext/test/test_thread.py
--- a/pypy/module/cpyext/test/test_thread.py
+++ b/pypy/module/cpyext/test/test_thread.py
@@ -4,10 +4,11 @@
 
 from pypy.module.cpyext.test.test_cpyext import AppTestCpythonExtensionBase
 
-only_pypy ="config.option.runappdirect and '__pypy__' not in 
sys.builtin_module_names" 
+only_pypy ="config.option.runappdirect and '__pypy__' not in 
sys.builtin_module_names"
 
 class AppTestThread(AppTestCpythonExtensionBase):
     @pytest.mark.skipif(only_pypy, reason='pypy only test')
+    @pytest.mark.xfail(reason='segfaults', run=False)
     def test_get_thread_ident(self):
         module = self.import_extension('foo', [
             ("get_thread_ident", "METH_NOARGS",
@@ -81,6 +82,7 @@
         module.test_release_lock()
 
     @pytest.mark.skipif(only_pypy, reason='pypy only test')
+    @pytest.mark.xfail(reason='segfaults', run=False)
     def test_tls(self):
         module = self.import_extension('foo', [
             ("create_key", "METH_NOARGS",
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to