factory method below hands out builders based on the given platform.
"""
-from .builder import Builder
-
def get_builder(platform):
"""Returns a Builder instance for the given platform."""
if platform == 'darwin':
from .darwin import BuilderDarwin
return BuilderDarwin()
+
+ from .builder import Builder
return Builder()
from . import lldbtest_config
from . import lldbutil
from . import test_categories
-from lldbsuite.builders import get_builder
from lldbsuite.support import encoded_file
from lldbsuite.support import funcutils
+from lldbsuite.test.builders import get_builder
# See also dotest.parseOptionsAndInitTestdirs(), where the environment variables
# LLDB_COMMAND_TRACE is set from '-t' option.