blob: 84024f291810fc67c0700371a52efd01ac54c0d7 [file] [log] [blame]
"""
This module builds test binaries for the test suite using Make.
Platform specific builders can override methods in the Builder base class. The
factory method below hands out builders based on the given platform.
"""
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()