dotest: consistently call finalize_build_dictionary in debug info variants
authorPavel Labath <labath@google.com>
Wed, 1 Nov 2017 22:01:03 +0000 (22:01 +0000)
committerPavel Labath <labath@google.com>
Wed, 1 Nov 2017 22:01:03 +0000 (22:01 +0000)
dwarf&dwo versions were doing it, but gmodules and dsym weren't. All
this function does right now is pass OS=Android to make when targeting
android. This enables us to run dotest without manually passing --env
OS=Android.

llvm-svn: 317130

lldb/packages/Python/lldbsuite/test/lldbtest.py

index c72b827..9f28cc0 100644 (file)
@@ -1510,6 +1510,7 @@ class Base(unittest2.TestCase):
             clean=True):
         """Platform specific way to build binaries with dsym info."""
         module = builder_module()
+        dictionary = lldbplatformutil.finalize_build_dictionary(dictionary)
         if not module.buildDsym(
                 self,
                 architecture,
@@ -1560,6 +1561,7 @@ class Base(unittest2.TestCase):
             clean=True):
         """Platform specific way to build binaries with gmodules info."""
         module = builder_module()
+        dictionary = lldbplatformutil.finalize_build_dictionary(dictionary)
         if not module.buildGModules(
                 self,
                 architecture,