[Lldb-commits] [lldb] e06a88c - [lldb] Use assertState in TestIgnoredExceptions

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 27 16:30:53 PDT 2022


Author: Jonas Devlieghere
Date: 2022-06-27T16:30:47-07:00
New Revision: e06a88cbe9cb639b0ee11026d6888455df1de214

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

LOG: [lldb] Use assertState in TestIgnoredExceptions

Added: 
    

Modified: 
    lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py b/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py
index 16fa762245825..e90b2ef8dbb30 100644
--- a/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py
+++ b/lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py
@@ -56,8 +56,8 @@ def suspended_thread_test(self):
         self.assertEqual(len(threads), 1, "Stopped at return breakpoint")
 
         # Make sure we really changed the value:
-        
+
         process.Continue()
-        self.assertEqual(process.state, lldb.eStateExited, "Process exited")
+        self.assertState(process.state, lldb.eStateExited, "Process exited")
         self.assertEqual(process.exit_state, 20, "Got the right exit status")
-                         
+


        


More information about the lldb-commits mailing list