From 43a68f1f0333e987459dca51421fd950c5e187fb Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 30 Jan 2018 17:02:42 +0000 Subject: 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 --- lldb/packages/Python/lldbsuite/test/lldbtest.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py') 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( -- cgit v1.2.3