summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2018-01-30 17:02:42 +0000
committerAdrian Prantl <aprantl@apple.com>2018-01-30 17:02:42 +0000
commit43a68f1f0333e987459dca51421fd950c5e187fb (patch)
tree842d141ab76adcefb0cb0f4ebc1002307f5d068f /lldb/packages/Python/lldbsuite/test/lldbtest.py
parentd6d5a2571fa4c0d11eea08674b0ad81cfc9b8498 (diff)
downloadbcm5719-llvm-43a68f1f0333e987459dca51421fd950c5e187fb.tar.gz
bcm5719-llvm-43a68f1f0333e987459dca51421fd950c5e187fb.zip
Enforce that tests building with buildDefault set NO_DEBUG_INFO_TESTCASE
and fix resulting errors. This is a prerequisite for building each test variant in its own build directory. llvm-svn: 323789
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbtest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index 2baeb8ad399..69d4937b6cf 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -1497,6 +1497,8 @@ class Base(unittest2.TestCase):
dictionary=None,
clean=True):
"""Platform specific way to build the default binaries."""
+ if self.debug_info:
+ raise Exception("buildDefault tests must set NO_DEBUG_INFO_TESTCASE")
module = builder_module()
dictionary = lldbplatformutil.finalize_build_dictionary(dictionary)
if not module.buildDefault(
OpenPOWER on IntegriCloud