Move decorator to the correct function.

This commit is contained in:
Adrian Prantl 2020-05-21 10:42:26 -07:00
parent a62a520044
commit 60dff35fd4
1 changed files with 1 additions and 1 deletions

View File

@ -37,6 +37,7 @@ class ThreadAPITestCase(TestBase):
self.setTearDownCleanup(dictionary=d)
self.run_to_address(self.exe_name)
@skipIfAsan # The output looks different under ASAN.
@add_test_categories(['pyapi'])
@expectedFailureAll(oslist=["linux"], archs=['arm'], bugnumber="llvm.org/pr45892")
@expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr20476')
@ -138,7 +139,6 @@ class ThreadAPITestCase(TestBase):
# Test that we can pass in a much larger size and still get the right output.
self.assertEqual("breakpoint 1.1", thread.GetStopDescription(len('breakpoint 1.1') + 100))
@skipIfAsan # The output looks different under ASAN.
def step_out_of_malloc_into_function_b(self, exe_name):
"""Test Python SBThread.StepOut() API to step out of a malloc call where the call site is at function b()."""
exe = self.getBuildArtifact(exe_name)