git://git.jankratochvil.net
/
lldb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[lldb] Set the default architecture also in buildDefault
[lldb.git]
/
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
73007ca
..
08f44c7
100644
(file)
--- 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()
"""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()
if self.getDebugInfo():
raise Exception("buildDefault tests must set NO_DEBUG_INFO_TESTCASE")
module = builder_module()