From: Charles-François Natali Date: Thu, 1 Sep 2011 21:08:21 +0000 (+0200) Subject: Issue #12868: Skip test_faulthandler.test_stack_overflow() on OpenBSD: X-Git-Tag: v3.3.0a1~1585 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3391e64482fa55c06b073cc76668bf1bf3e5c149;p=thirdparty%2FPython%2Fcpython.git Issue #12868: Skip test_faulthandler.test_stack_overflow() on OpenBSD: sigaltstack(2) doesn't work when linked with pthread. --- diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index 331dd2ec86e1..977cb3928ba3 100644 --- a/Lib/test/test_faulthandler.py +++ b/Lib/test/test_faulthandler.py @@ -174,6 +174,9 @@ faulthandler._fatal_error(b'xyz') 2, 'xyz') + @unittest.skipIf(sys.platform.startswith('openbsd') and HAVE_THREADS, + "Issue #12868: sigaltstack() doesn't work on " + "OpenBSD if Python is compiled with pthread") @unittest.skipIf(not hasattr(faulthandler, '_stack_overflow'), 'need faulthandler._stack_overflow()') def test_stack_overflow(self):