aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/commands/trace/TestTraceSave.py
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2024-02-23 11:31:09 -0800
committerFlorian Mayer <fmayer@google.com>2024-02-23 11:31:09 -0800
commit8d536f83545f071948888983e2db25ce23a8302d (patch)
treeb46a6c218f811753e98cb07c725c9e9f03224780 /lldb/test/API/commands/trace/TestTraceSave.py
parent214e60250987ad1f305a0fa6a823093d5247ee77 (diff)
parent6dd6d487d012a9000fe975133b7935c1f8c658eb (diff)
downloadllvm-users/fmayer/sprmain.scudo-allow-to-resize-allocation-ring-buffer.zip
llvm-users/fmayer/sprmain.scudo-allow-to-resize-allocation-ring-buffer.tar.gz
llvm-users/fmayer/sprmain.scudo-allow-to-resize-allocation-ring-buffer.tar.bz2
[𝘀𝗽𝗿] changes introduced through rebaseusers/fmayer/sprmain.scudo-allow-to-resize-allocation-ring-buffer
Created using spr 1.3.4 [skip ci]
Diffstat (limited to 'lldb/test/API/commands/trace/TestTraceSave.py')
-rw-r--r--lldb/test/API/commands/trace/TestTraceSave.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/API/commands/trace/TestTraceSave.py b/lldb/test/API/commands/trace/TestTraceSave.py
index ef1ab2f..af38669 100644
--- a/lldb/test/API/commands/trace/TestTraceSave.py
+++ b/lldb/test/API/commands/trace/TestTraceSave.py
@@ -179,11 +179,11 @@ class TestTraceSave(TraceIntelPTTestCaseBase):
res = lldb.SBCommandReturnObject()
ci.HandleCommand("thread trace dump instructions -c 10 --forwards", res)
- self.assertEqual(res.Succeeded(), True)
+ self.assertTrue(res.Succeeded())
first_ten_instructions = res.GetOutput()
ci.HandleCommand("thread trace dump instructions -c 10", res)
- self.assertEqual(res.Succeeded(), True)
+ self.assertTrue(res.Succeeded())
last_ten_instructions = res.GetOutput()
# Now, save the trace to <trace_copy_dir>
@@ -203,11 +203,11 @@ class TestTraceSave(TraceIntelPTTestCaseBase):
# Compare with instructions saved at the first time
ci.HandleCommand("thread trace dump instructions -c 10 --forwards", res)
- self.assertEqual(res.Succeeded(), True)
+ self.assertTrue(res.Succeeded())
self.assertEqual(res.GetOutput(), first_ten_instructions)
ci.HandleCommand("thread trace dump instructions -c 10", res)
- self.assertEqual(res.Succeeded(), True)
+ self.assertTrue(res.Succeeded())
self.assertEqual(res.GetOutput(), last_ten_instructions)
def testSaveKernelTrace(self):