File tree 1 file changed +3
-0
lines changed
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:
47
47
for file in files_to_delete :
48
48
file .unlink ()
49
49
50
+ @unittest .skipIf (support .check_bolt_optimized , "fails on BOLT instrumented binaries" )
50
51
def test_trampoline_works (self ):
51
52
code = """if 1:
52
53
def foo():
@@ -100,6 +101,7 @@ def baz():
100
101
"Address should contain only hex characters" ,
101
102
)
102
103
104
+ @unittest .skipIf (support .check_bolt_optimized , "fails on BOLT instrumented binaries" )
103
105
def test_trampoline_works_with_forks (self ):
104
106
code = """if 1:
105
107
import os, sys
@@ -160,6 +162,7 @@ def baz():
160
162
self .assertIn (f"py::bar_fork:{ script } " , child_perf_file_contents )
161
163
self .assertIn (f"py::baz_fork:{ script } " , child_perf_file_contents )
162
164
165
+ @unittest .skipIf (support .check_bolt_optimized , "fails on BOLT instrumented binaries" )
163
166
def test_sys_api (self ):
164
167
code = """if 1:
165
168
import sys
You can’t perform that action at this time.
0 commit comments