File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ def tearDown(self) -> None:
4747 for file in files_to_delete :
4848 file .unlink ()
4949
50+ @unittest .skipIf (support .check_bolt_optimized , "fails on BOLT instrumented binaries" )
5051 def test_trampoline_works (self ):
5152 code = """if 1:
5253 def foo():
@@ -100,6 +101,7 @@ def baz():
100101 "Address should contain only hex characters" ,
101102 )
102103
104+ @unittest .skipIf (support .check_bolt_optimized , "fails on BOLT instrumented binaries" )
103105 def test_trampoline_works_with_forks (self ):
104106 code = """if 1:
105107 import os, sys
@@ -160,6 +162,7 @@ def baz():
160162 self .assertIn (f"py::bar_fork:{ script } " , child_perf_file_contents )
161163 self .assertIn (f"py::baz_fork:{ script } " , child_perf_file_contents )
162164
165+ @unittest .skipIf (support .check_bolt_optimized , "fails on BOLT instrumented binaries" )
163166 def test_sys_api (self ):
164167 code = """if 1:
165168 import sys
You can’t perform that action at this time.
0 commit comments