1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/libc_newlib
cladmi ba2a8dfe8a
tests/libc_newlib: fix pointers comparison for llvm
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>
2018-09-25 15:02:29 +02:00
..
tests tests: move testrunner import up 2018-08-13 14:11:24 +02:00
main.c tests/libc_newlib: fix pointers comparison for llvm 2018-09-25 15:02:29 +02:00
Makefile tests: remove obsolete local test targets 2018-09-07 15:13:08 +02:00
README.md tests/libc_newlib: add test for newlib-nano inclusion 2018-07-25 11:43:19 +02:00

About

Terifies if newlib/newlib-nano is correctly included by the build system

At compile time, it checks that:

At runtime, it checks that:

  • the same iprintf and printf test as at compile time

Without newlib, the test does nothing.