summaryrefslogtreecommitdiffstats
path: root/lldb/test/lldbtest.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-09-03 23:49:16 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-09-03 23:49:16 +0000
commit1b1b9accd10a0a72768075cb09b3b50875c32b7f (patch)
tree523566fd228cd44203652cdc1007356746cc70d4 /lldb/test/lldbtest.py
parent7829d0e74b25af296ec9b5cd4dec3a1604b35826 (diff)
downloadbcm5719-llvm-1b1b9accd10a0a72768075cb09b3b50875c32b7f.tar.gz
bcm5719-llvm-1b1b9accd10a0a72768075cb09b3b50875c32b7f.zip
Marked test_process_launch_for_universal() test case as requiring 'darwin' and 'i386'
in order to be run. And added a default build phase at the beginning of the method. llvm-svn: 113037
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