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 14 return BuilderDarwin() 15 16 from .builder import Builder 17 18 return Builder() 19