summaryrefslogtreecommitdiffstats
path: root/lldb/test/lldbtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lldbtest.py')
-rw-r--r--lldb/test/lldbtest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index 51d2afd534e..40a8903bda9 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -458,6 +458,12 @@ class TestBase(unittest2.TestCase):
# End of while loop.
+ def buildDefault(self):
+ """Platform specific way to build the default binaries."""
+ module = __import__(sys.platform)
+ if not module.buildDefault():
+ raise Exception("Don't know how to build default binary")
+
def buildDsym(self):
"""Platform specific way to build binaries with dsym info."""
module = __import__(sys.platform)
OpenPOWER on IntegriCloud