mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
gh-128473: Skip segfaulting test_embed tests when BOLT instrumented (gh-128474)
* Skip segfaulting `test_embed` tests when BOLT instrumented Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com> * NEWS --------- Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
This commit is contained in:
parent
bd3baa8b1a
commit
6e4f64109b
2 changed files with 6 additions and 0 deletions
|
|
@ -940,6 +940,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
self.check_global_config(configs)
|
||||
return configs
|
||||
|
||||
@unittest.skipIf(support.check_bolt_optimized, "segfaults on BOLT instrumented binaries")
|
||||
def test_init_default_config(self):
|
||||
self.check_all_configs("test_init_initialize_config", api=API_COMPAT)
|
||||
|
||||
|
|
@ -1039,6 +1040,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
self.check_all_configs("test_init_from_config", config, preconfig,
|
||||
api=API_COMPAT)
|
||||
|
||||
@unittest.skipIf(support.check_bolt_optimized, "segfaults on BOLT instrumented binaries")
|
||||
def test_init_compat_env(self):
|
||||
preconfig = {
|
||||
'allocator': ALLOCATOR_FOR_CONFIG,
|
||||
|
|
@ -1074,6 +1076,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
self.check_all_configs("test_init_compat_env", config, preconfig,
|
||||
api=API_COMPAT)
|
||||
|
||||
@unittest.skipIf(support.check_bolt_optimized, "segfaults on BOLT instrumented binaries")
|
||||
def test_init_python_env(self):
|
||||
preconfig = {
|
||||
'allocator': ALLOCATOR_FOR_CONFIG,
|
||||
|
|
@ -1772,6 +1775,7 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
|
|||
self.check_all_configs("test_init_set_config", config,
|
||||
api=API_ISOLATED)
|
||||
|
||||
@unittest.skipIf(support.check_bolt_optimized, "segfaults on BOLT instrumented binaries")
|
||||
def test_initconfig_api(self):
|
||||
preconfig = {
|
||||
'configure_locale': True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue