summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py b/lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py
index 06a2a86d47a..d71bc3b1fee 100644
--- a/lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py
+++ b/lldb/packages/Python/lldbsuite/test/plugins/builder_darwin.py
@@ -5,20 +5,23 @@ import lldbsuite.test.lldbtest as lldbtest
from builder_base import *
-
def buildDsym(
sender=None,
architecture=None,
compiler=None,
dictionary=None,
- clean=True):
+ clean=True,
+ testdir=None):
"""Build the binaries with dsym debug info."""
commands = []
if clean:
- commands.append(["make", "clean", getCmdLine(dictionary)])
- commands.append(["make", "MAKE_DSYM=YES", getArchSpec(
- architecture), getCCSpec(compiler), getCmdLine(dictionary)])
+ commands.append(getMake(testdir) + ["clean", getCmdLine(dictionary)])
+ commands.append(getMake(testdir) +
+ ["MAKE_DSYM=YES",
+ getArchSpec(architecture),
+ getCCSpec(compiler),
+ "all", getCmdLine(dictionary)])
runBuildCommands(commands, sender=sender)
OpenPOWER on IntegriCloud