[Lldb-commits] [lldb] r322329 - Fix the same thinko in another	place...
    Jim Ingham via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Thu Jan 11 15:52:50 PST 2018
    
    
  
Author: jingham
Date: Thu Jan 11 15:52:50 2018
New Revision: 322329
URL: http://llvm.org/viewvc/llvm-project?rev=322329&view=rev
Log:
Fix the same thinko in another place...
Thanks Jason.
Modified:
    lldb/trunk/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/TestFindAppInBundle.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/TestFindAppInBundle.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/TestFindAppInBundle.py?rev=322329&r1=322328&r2=322329&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/TestFindAppInBundle.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/TestFindAppInBundle.py Thu Jan 11 15:52:50 2018
@@ -54,7 +54,7 @@ class FindAppInMacOSAppBundle(TestBase):
             error = lldb.SBError()
             process = target.Launch(launch_info, error)
             
-            self.assertTrue(process, "Could not create a valid process for TestApp: %s"%(error.GetCString()))
+            self.assertTrue(process.IsValid(), "Could not create a valid process for TestApp: %s"%(error.GetCString()))
             
             # Frame #0 should be at our breakpoint.
             threads = lldbutil.get_threads_stopped_at_breakpoint(process, bkpt)
    
    
More information about the lldb-commits
mailing list