Пример #1
0
def run(port, options, args, printer):
    _set_up_derived_options(port, options, args)
    manager = Manager(port, options, printer)
    printer.print_config(port)
    run_details = manager.run(args)
    _log.debug('')
    _log.debug('Testing completed. Exit status: %d', run_details.exit_code)
    printer.flush()
    return run_details
Пример #2
0
 def get_manager(port):
     manager = Manager(port,
                       options=optparse.Values({
                           'http': True,
                           'max_locked_shards': 1
                       }),
                       printer=FakePrinter())
     return manager
Пример #3
0
 def get_manager():
     host = MockHost()
     port = host.port_factory.get('test-mac-mac10.10')
     manager = Manager(port,
                       options=optparse.Values({
                           'http': True,
                           'max_locked_shards': 1
                       }),
                       printer=FakePrinter())
     return manager
Пример #4
0
def _run_tests(port, options, args, printer):
    _set_up_derived_options(port, options, args)
    manager = Manager(port, options, printer)
    printer.print_config(port.results_directory())
    return manager.run(args)