Skip to content
Snippets Groups Projects
Commit 9ba63c87 authored by Kamil Konieczny's avatar Kamil Konieczny
Browse files

runner/resultgen: Added dynamically ignored dmesg messages


Some messages generated by driver are triggered by test itself
and are not meant to rise error nor warn within runner, yet
they should be catched in other circumstances so they are not
suitable to be ignored permanently.

Instead of hard-coding such situations check dmesg for info from
a test and add such regex on a fly and then ignore next dmesg
errors or warns which match it.

Ignored regex will be removed after end of current subtest, just
before a new subtest or dynamic subtest starts.

v2: removed local copy for regex string (Zbigniew), clarify
 description, free regex before creating new (Kamil)
v3: print error when compiling regex fails (Zbigniew)
v4: restore cutting regex string at \n, it was lost in v2
 (Kamil)

Signed-off-by: default avatarKamil Konieczny <kamil.konieczny@linux.intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 997bac87
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment