From: Gabe Black Date: Thu, 30 Aug 2018 08:44:26 +0000 (-0700) Subject: systemc: Make verify.py filter out some error messages. X-Git-Tag: v19.0.0.0~1682 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f1e647bb293f0728d3083c3b6ce2a6399f6eeb0;p=gem5.git 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 --- 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(