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
..
2018-08-13 14:11:24 +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.