[Lldb-commits] [lldb] 9b80fc3 - [lldb] Add missing function call in test (NFC)

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 24 15:29:27 PDT 2025


Author: Adrian Prantl
Date: 2025-10-24T15:29:14-07:00
New Revision: 9b80fc39606f6f02b88a21ac29e98a74b0b7426a

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

LOG: [lldb] Add missing function call in test (NFC)

Added: 
    

Modified: 
    lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py b/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py
index 8a321b2ff6324..0f40dfd09c958 100644
--- a/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py
+++ b/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py
@@ -40,7 +40,7 @@ def run_arch(self, exe, arch):
         launch_info = target.GetLaunchInfo()
         error = lldb.SBError()
         process = target.Launch(launch_info, error)
-        self.assertTrue(error.Success, str(error))
+        self.assertTrue(error.Success(), str(error))
         self.assertState(process.GetState(), lldb.eStateExited)
         self.assertIn("slice: {}".format(arch), process.GetSTDOUT(1000))
 


        


More information about the lldb-commits mailing list