mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 23:27:46 +00:00
[nexus] enable CLI logging for fuzz tests (#12058)
Adds CLI related configs within the Nexus test build (`openthread-core-nexus-config.h`) to support fuzz testing of the CLI module. The following configurations are added: - `OPENTHREAD_CONFIG_CLI_MAX_LINE_LENGTH` is increased to 800 to handle potentially long input strings generated by the fuzzer without truncation. - `OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_ENABLE` is enabled to log all input and output through the CLI. This is helpful for debugging and analyzing fuzzer-generated logs.
This commit is contained in:
@@ -136,4 +136,9 @@
|
||||
#define OPENTHREAD_CONFIG_TREL_USE_HEAP_ENABLE 1
|
||||
#define OPENTHREAD_CONFIG_UPTIME_ENABLE 1
|
||||
|
||||
// CLI configs
|
||||
#define OPENTHREAD_CONFIG_CLI_MAX_LINE_LENGTH 800
|
||||
#define OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_ENABLE 1
|
||||
#define OPENTHREAD_CONFIG_CLI_LOG_INPUT_OUTPUT_LEVEL OT_LOG_LEVEL_INFO
|
||||
|
||||
#endif /* OT_CORE_NEXUS_CONFIG_H_ */
|
||||
|
||||
Reference in New Issue
Block a user