mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ba2a8dfe8a
With llvm and samr21-xpro, I could not directly do 'printf == iprintf'. But doing `(printf - iprintf) == 0` correctly checked if they are equal. Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de> |
||
---|---|---|
.. | ||
tests | ||
main.c | ||
Makefile | ||
README.md |
About
Terifies if newlib/newlib-nano is correctly included by the build system
At compile time, it checks that:
- newlib-nano header is used when 'newlib-nano' module is included
- newlib or newlib-nano is properly linked
iprintf
is the same asprintf
or not as mentionned in:f157c994b9/newlib/README.nano (L32)
At runtime, it checks that:
- the same
iprintf
andprintf
test as at compile time
Without newlib, the test does nothing.