zephyr/tests/lib
Alberto Escolar Piedras 2b02f8d316 tests: sprintf: suppress Wformat-truncation warning
GCC 7 and newer are smart enough to realize that in test_snprintf()
the output will not fit in 0 or 4 bytes, but that it requires 9.
So it throws a warning in compile time. But in this case we are
actually testing that snprintf's return value is what it should be
while truncating the output. So let's suppress this warning here.

Fixes: #5732

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
2018-06-28 19:58:55 +02:00
..
base64 tests: base64: do not exclude newlib 2018-04-09 22:55:20 -04:00
c_lib tests/lib/c_lib: Turn off too-clever compiler warning 2018-05-23 20:54:36 -04:00
json tests: lib: use meaningful test names 2018-02-18 09:16:40 -05:00
rbtree lib/rbtree: Fix & document insert comparison order 2018-05-19 07:00:55 +03:00
ringbuffer tests: enhance test meta-data/improve test naming 2018-05-07 12:27:07 -04:00
sprintf tests: sprintf: suppress Wformat-truncation warning 2018-06-28 19:58:55 +02:00