mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-18 19:13:51 +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.
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.