mirror of https://github.com/ARMmbed/mbed-os.git
Assumption that greentea test file is always named main.cpp is incorrect. Updated mbed_greentea_add_test() macro to make TEST_SOURCES parameter compulsory, which is used to specify greentea test file(s). This allows tests to use C, or have a different name. Therefore also updated all pre-existing greentea test CMake files to explicity add main.cpp to TEST_SOURCES. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.md | ||
main.cpp | ||
mbed_printf.c | ||
mbed_printf.h | ||
test_config.json |
README.md
Description
This document describes how to run minimal-printf tests.
Running tests
You can use the following command to run tests:
mbed test -m K64F -t GCC_ARM -n *printf* -v -c --app-config TESTS/mbed_platform/minimal-printf/compliance/test_config.json