[PATCH 0/4] Remove autogenerate klog lables, add them to json data
Colin King
colin.king at canonical.com
Wed Oct 31 14:11:20 UTC 2012
From: Colin Ian King <colin.king at canonical.com>
As a first step towards allowing users to filter test failures out during
run time by using fwts error labels we should first ensure that the
klog labels are no longer auto-generated at run time. Historically we
have generated the fwts klog error messgaes by munging the regex field
but this produces some awkward looking labels which sometimes aren't that
meaningful.
Instead, lets add the labels to the json data and make fwts load these
if they are available or still auto-generate them for backward compatibility
if and old json klog data file is used.
This allows me to produce a filter list easily based on the json data
rather than figuring out how to do it from the regex strings.
Colin Ian King (4):
lib: include: fwts_log, add in new label field
lib: klog: load labels from json data file rather than auto-generate
data: klog.json: add in label for each error message
lib: klog: tidy up the code a little
data/klog.json | 509 ++++++++++++++++++++++++++++---------------
src/lib/include/fwts_klog.h | 1 +
src/lib/src/fwts_klog.c | 78 ++++---
3 files changed, 393 insertions(+), 195 deletions(-)
--
1.7.10.4
More information about the fwts-devel
mailing list