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 <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
Gabe Black
2018-08-30 01:44:26 -07:00
parent 9aea748444
commit 9f1e647bb2

View File

@@ -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(