summaryrefslogtreecommitdiff
path: root/src/systemc/tests
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-08-30 01:44:26 -0700
committerGabe Black <gabeblack@google.com>2018-10-03 00:23:09 +0000
commit9f1e647bb293f0728d3083c3b6ce2a6399f6eeb0 (patch)
tree8f1ff2e64ca55c7a4c1ba7406ea4fd86d54f46b7 /src/systemc/tests
parent9aea7484449259a115de5711b993f81c42033e0f (diff)
downloadgem5-9f1e647bb293f0728d3083c3b6ce2a6399f6eeb0.tar.xz
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>
Diffstat (limited to 'src/systemc/tests')
-rwxr-xr-xsrc/systemc/tests/verify.py6
1 files changed, 6 insertions, 0 deletions
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(