mirror of https://github.com/ARMmbed/mbed-os.git
Call add_test in mbed_greentea_add_test and specify mbedhtrun as the command to run. An MBED_HTRUN_ARGUMENTS variable has been added, which is a semicolon separated list of arguments to forward to htrun. The user is required to pass in any arguments mbedhtrun needs to communicate with the device under test at CMake configuration time. We automate passing some of the htrun arguments in CMake using data provided by mbed_config.cmake or gathered from the CMake environment. The following arguments are passed to htrun from CMake: * -f/--image-path * -e/--enum-host-tests * -m/--micro * -R/--reset-timeout --baud-rate is also passed if the MBED_CONF_PLATFORM_STDIO_BAUD_RATE config parameter is defined. Temporary checks have been added to mbed_greentea_add_test to keep the old flow working until we port all of the greentea tests to CTest. These checks should be removed after we make all greentea tests runnable by CTest. |
||
---|---|---|
.. | ||
device_key | ||
docs/serial | ||
include/drivers | ||
source | ||
tests | ||
usb | ||
CMakeLists.txt | ||
LICENSE-mit.txt | ||
LICENSE.md | ||
mbed_lib.json |