zephyr/tests/unit
Nicolas Pitre fb73ac392c lib/os/cbprintf_nano.c: several improvements
This makes cbprintf_nano.c much closer to the standard printf and
therefore more useful. The following are now implemented:

- right justification for everything (only for numbers previously)
- precision value for numbers, chars and strings
- width/precision passed as arguments with *
- "unlimited" padding length
- lower/uppercase hex output
- the #, + and ' ' flags are supported

And the code was heavily reworked to reduce its size as much as
possible to mitigate the size growth. Still, the binary resulting
from cbprintf_nano.c is now between 10% and 20% bigger depending on
the architecture. This is still far smaller than cbprintf_complete.c
which remains about twice as big on average even without FP support.

Many unit tests that were skipped with CONFIG_CBPRINTF_NANO are now
enabled, and a few more were added for good measure.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2021-02-23 19:39:59 +01:00
..
base64 cmake: make find_package(ZephyrUnittest...) REQUIRED 2020-06-12 11:10:23 +02:00
cbprintf lib/os/cbprintf_nano.c: several improvements 2021-02-23 19:39:59 +01:00
crc cmake: make find_package(ZephyrUnittest...) REQUIRED 2020-06-12 11:10:23 +02:00
intmath cmake: make find_package(ZephyrUnittest...) REQUIRED 2020-06-12 11:10:23 +02:00
list kernel: dlist: add test cases to cover APIs 2021-01-15 11:42:48 -05:00
math_extras cmake: make find_package(ZephyrUnittest...) REQUIRED 2020-06-12 11:10:23 +02:00
net_timeout net: timeout: refactor to fix multiple problems 2021-01-07 11:14:38 +02:00
rbtree Revert "tests: rbtree to add and modify some tastcases" 2020-07-02 14:40:20 -05:00
timeutil lib/timeutil: add utilities to manage local/reference clock alignment 2021-01-20 16:38:56 -05:00
util tests: unit: util: Extended UTIL_LISTIFY test 2021-02-23 12:35:48 +01:00