mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 16:01:18 +01:00
This adds a simple test applications that runs snprintf on standard format specifiers and compares the output with the expected output. The assumption is that internally every stdio implementation uses the same formatting code for each member of the printf functions family, so testing snprintf only is sufficient.
7 lines
266 B
Markdown
7 lines
266 B
Markdown
# snprintf
|
|
|
|
This test aims to test if the stdio implementations correctly implements
|
|
standard format specifiers. Instead of relying on the transport of stdout to
|
|
be fast and reliable, it will use snprintf to format in-memory and compare
|
|
in the app with correctness.
|