def main():
    """! This function drives command line tool 'mbedhtrun' which is using DefaultTestSelector
    @details 1. Create DefaultTestSelector object and pass command line parameters
             2. Call default test execution function run() to start test instrumentation
    """
    freeze_support()
    result = -2
    test_selector = DefaultTestSelector(init_host_test_cli_params())
    try:
        result = test_selector.execute()
    except (__HOLE__, SystemExit):
        test_selector.finish()
        result = -3
        raise
    else:
        test_selector.finish()

    return result
dataset/ETHPy150Open ARMmbed/htrun/mbed_host_tests/mbedhtrun.py/main