mirror of https://github.com/ARMmbed/mbed-os.git
The two character sequence %% is used in standard implementations of printf to print a single %. This is because % is essentially printf's escape character for format specifiers and as \% cannot work printf uses %%. Therefore to be compatible with string buffers containing %%, minimal-printf also needs to only print a single %. |
||
---|---|---|
.. | ||
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
Do not use --profile minimal-printf so minimal-printf is not compared with itself.