[Lldb-commits] [lldb] 5a62008 - [lldb] Use runBuildCommands from buildGModules

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 14 10:41:53 PDT 2020


Author: Jonas Devlieghere
Date: 2020-07-14T10:41:45-07:00
New Revision: 5a62008f352b38ca80cb4156fb5d234404db75f2

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

LOG: [lldb] Use runBuildCommands from buildGModules

Use runBuildCommands, like all other builders, to raise a build-specific
error when the command fails.

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/plugins/builder_base.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py
index e54431eb1fe7..a8114b3e0592 100644
--- a/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py
+++ b/lldb/packages/Python/lldbsuite/test/plugins/builder_base.py
@@ -254,7 +254,7 @@ def buildGModules(
                      getModuleCacheSpec(),
                      getCmdLine(dictionary)])
 
-    lldbtest.system(commands, sender=sender)
+    runBuildCommands(commands, sender=sender)
     # True signifies that we can handle building with gmodules.
     return True
 


        


More information about the lldb-commits mailing list