[Lldb-commits] [lldb] 16bf892 - [lldb/Test] Partially revert assertTrue change

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 13 21:56:50 PST 2020


Author: Jonas Devlieghere
Date: 2020-02-13T21:55:48-08:00
New Revision: 16bf89267e5ac01d2b512ce784f23640a82de821

URL: https://github.com/llvm/llvm-project/commit/16bf89267e5ac01d2b512ce784f23640a82de821
DIFF: https://github.com/llvm/llvm-project/commit/16bf89267e5ac01d2b512ce784f23640a82de821.diff

LOG: [lldb/Test] Partially revert assertTrue change

This reverts b3a0c4d7dcfa252be17ef5f5b63ffaaa83e01a2b for
TestBreakpointHitCount.py because it's now timing out on the Windows
bot. I'm not sure this is the cause, but the substitution doesn't look
correct anyway...

Added: 
    

Modified: 
    lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py b/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
index 9f8ac82e7f54..0254bf02366d 100644
--- a/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
+++ b/lldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
@@ -41,7 +41,7 @@ def test_breakpoint_one_shot(self):
             "There should be a thread stopped due to breakpoint")
 
         frame0 = thread.GetFrameAtIndex(0)
-        self.assertEquals(frame0.GetFunctionName(), "a(int)" or frame0.GetFunctionName() == "int a(int)");
+        self.assertTrue(frame0.GetFunctionName() == "a(int)" or frame0.GetFunctionName() == "int a(int)");
 
         process.Continue()
         self.assertEqual(process.GetState(), lldb.eStateExited)


        


More information about the lldb-commits mailing list