3 Copyright (c) 2011-2016 ARM Limited
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-2.0
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
17 Author: Przemyslaw Wirkus <Przemyslaw.Wirkus@arm.com>
20 from multiprocessing
import freeze_support
21 from mbed_host_tests
import init_host_test_cli_params
26 """! This function drives command line tool 'mbedhtrun' which is using DefaultTestSelector
27 @details 1. Create DefaultTestSelector object and pass command line parameters
28 2. Call default test execution function run() to start test instrumentation
34 result = test_selector.execute()
35 except (KeyboardInterrupt, SystemExit):
36 test_selector.finish()
40 test_selector.finish()
Select default host_test supervision (replaced after auto detection)
def main()
This function drives command line tool 'mbedhtrun' which is using DefaultTestSelector.
def init_host_test_cli_params()
Function creates CLI parser object and returns populated options object.