Commit Graph

2 Commits

Author SHA1 Message Date
Aastha Grover
94902bf542 tests: log_switch_format: Add mock backend and remove harness console
Add mock backend to support validating the output logs when
switching the log format at runtime. This removes the need to use
harness console when ztest framework is in use.

Fixes #47077

Signed-off-by: Aastha Grover <aastha.grover@intel.com>
2022-07-08 20:10:42 +00:00
Aastha Grover
1c1748d579 tests: add testcases for dynamic switching logging formats.
Adding testcases for switching of logging formats at runtime.
Includes testing for log_backend_format_set,
log_format_set_all_active_backends & log_format_func_t_get
routines.

Signed-off-by: Aastha Grover <aastha.grover@intel.com>
2022-06-05 14:49:01 +02:00