X-Git-Url: https://git.jankratochvil.net/?p=lldb.git;a=blobdiff_plain;f=lldb%2Fpackages%2FPython%2Flldbsuite%2Ftest%2Flldbtest.py;h=08f44c7313836412953adac9acbbdaeff19ba008;hp=73007caf2108427f6a61cd060a9180172ff7910c;hb=b9b5f12bd4cd0647ff630c1631e0cf20f430fa15;hpb=6b104ea4b4630c2fa841c6d5f7c7a69b08d31979 diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index 73007ca..08f44c7 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -1591,6 +1591,10 @@ class Base(unittest2.TestCase): """Platform specific way to build the default binaries.""" testdir = self.mydir testname = self.getBuildDirBasename() + + if not architecture and configuration.arch: + architecture = configuration.arch + if self.getDebugInfo(): raise Exception("buildDefault tests must set NO_DEBUG_INFO_TESTCASE") module = builder_module()