From 9f1e647bb293f0728d3083c3b6ce2a6399f6eeb0 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 30 Aug 2018 01:44:26 -0700 Subject: [PATCH] systemc: Make verify.py filter out some error messages. Some of the details of these messages would be annoying to match exactly, and the error messages in gem5 go to simerr which isn't being checked. Change-Id: If80b124dd99987e205ccaf81d313d35df4191252 Reviewed-on: https://gem5-review.googlesource.com/c/12449 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/tests/verify.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/systemc/tests/verify.py b/src/systemc/tests/verify.py index 57e2c7d29..dc0045970 100755 --- a/src/systemc/tests/verify.py +++ b/src/systemc/tests/verify.py @@ -195,6 +195,9 @@ def tagged_filt(tag, num): return (r'^\n{}: \({}{}\) .*\n(In file: .*\n)?' r'(In process: [\w.]* @ .*\n)?').format(tag, tag[0], num) +def error_filt(num): + return tagged_filt('Error', num) + def warning_filt(num): return tagged_filt('Warning', num) @@ -217,6 +220,9 @@ class LogChecker(Checker): warning_filt(540), warning_filt(569), warning_filt(571), + error_filt(541), + error_filt(542), + error_filt(543), info_filt(804), ) test_filt = merge_filts( -- 2.30.2