Author: Pavel Labath
Date: 2021-10-29T14:43:53+02:00
New Revision: 8e3de91c07ce1e70463e1db2f3f0d629f57239b7

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

LOG: [lldb/test] Fix TestFunctionStarts for eee887e0

Added: 
    

Modified: 
    lldb/test/API/macosx/function-starts/TestFunctionStarts.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/function-starts/TestFunctionStarts.py 
b/lldb/test/API/macosx/function-starts/TestFunctionStarts.py
index 5ef06f4ab568f..ce599851293c7 100644
--- a/lldb/test/API/macosx/function-starts/TestFunctionStarts.py
+++ b/lldb/test/API/macosx/function-starts/TestFunctionStarts.py
@@ -37,10 +37,7 @@ def do_function_starts(self, in_memory):
 
         exe = self.getBuildArtifact(exe_name)
         # Now strip the binary, but leave externals so we can break on 
dont_strip_me.
-        try:
-            fail_str = system([["strip", "-u", "-x", "-S", exe]])
-        except CalledProcessError as cmd_error:
-            self.fail("Strip failed: %d"%(cmd_error.returncode))
+        self.runBuildCommand(["strip", "-u", "-x", "-S", exe])
 
         # Use a file as a synchronization point between test and inferior.
         pid_file_path = lldbutil.append_to_process_working_directory(self,


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to