diff options
author | Adrian Prantl <aprantl@apple.com> | 2018-01-30 17:02:42 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2018-01-30 17:02:42 +0000 |
commit | 43a68f1f0333e987459dca51421fd950c5e187fb (patch) | |
tree | 842d141ab76adcefb0cb0f4ebc1002307f5d068f /lldb/packages/Python/lldbsuite/test/lldbtest.py | |
parent | d6d5a2571fa4c0d11eea08674b0ad81cfc9b8498 (diff) | |
download | bcm5719-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.py | 2 |
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( |