1""" 2This module builds test binaries for the test suite using Make. 3 4Platform specific builders can override methods in the Builder base class. The 5factory method below hands out builders based on the given platform. 6""" 7 8 9def get_builder(platform): 10 """Returns a Builder instance for the given platform.""" 11 if platform == 'darwin': 12 from .darwin import BuilderDarwin 13 return BuilderDarwin() 14 15 from .builder import Builder 16 return Builder() 17