summaryrefslogtreecommitdiff
path: root/runner
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2020-06-02 13:19:16 +0300
committerPetri Latvala <petri.latvala@intel.com>2020-06-03 09:33:07 +0300
commitc98c9ad6d06c4eb8b05b23ef0bbe0159730e387f (patch)
treee8d334cd0e4794cdf1c3d8f82dd4e74d3905256d /runner
parent5648db25034883e1437d28d6a8b89acbb5cb74b2 (diff)
runner: Adapt to device-based DRM logging changes
DRM logging in the kernel has switched to device based logging, changing the pattern of logging from [drm:function_name] Message to i915 0000:00:02.0: [drm] Message Change the pattern we use with --piglit-style-dmesg to match the new style logging, catching all warnings that contain [drm]. We're no longer result-wise exactly piglit compatible but then again that ship sailed long time ago with the change of introducing dmesg-level parameter. Piglit compatibility result-wise is not a goal regardless. Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Cc: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'runner')
-rw-r--r--runner/resultgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runner/resultgen.c b/runner/resultgen.c
index 17147a8f..add4aad5 100644
--- a/runner/resultgen.c
+++ b/runner/resultgen.c
@@ -808,7 +808,7 @@ static const char igt_dmesg_whitelist[] =
#undef _
static const char igt_piglit_style_dmesg_blacklist[] =
- "(\\[drm:|drm_|intel_|i915_)";
+ "(\\[drm:|drm_|intel_|i915_|\\[drm\\])";
static bool init_regex_whitelist(struct settings* settings, GRegex **re)
{