On Sat, 10 Oct 2020 at 13:44, Sean Anderson <sean...@gmail.com> wrote: > > This exercises a few success and failure modes of the log filter-* > commands. log filter-list is not tested because it's purely informational. > I don't think there's a good way to test it except by testing if the output > of the command exactly matches a sample run. > > Signed-off-by: Sean Anderson <sean...@gmail.com> > --- > > Changes in v2: > - Converted log filter-* tests to C from python > > include/test/log.h | 1 + > test/log/Makefile | 1 + > test/log/log_filter.c | 111 ++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 113 insertions(+) > create mode 100644 test/log/log_filter.c >
Reviewed-by: Simon Glass <s...@chromium.org>