Skip to content

Commit

Permalink
tests: unit: cbprintf: Disable logging
Browse files Browse the repository at this point in the history
Force logging disable in the test.

Signed-off-by: Krzysztof Chruscinski <[email protected]>
  • Loading branch information
nordic-krch authored and fabiobaltieri committed Sep 19, 2022
1 parent 0eec3ed commit b7b748b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit/cbprintf/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@
#define PACKAGE_FLAGS 0
#endif

#ifdef CONFIG_LOG
#undef CONFIG_LOG
#define CONFIG_LOG 0
#endif

#include <zephyr/sys/cbprintf.h>
#include "../../../lib/os/cbprintf.c"

Expand Down

0 comments on commit b7b748b

Please sign in to comment.