verify.py (13010:09b975489550) verify.py (13033:97942c2a58ad)
1#!/usr/bin/env python2
2#
3# Copyright 2018 Google, Inc.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 184 unchanged lines hidden (view full) ---

193 def warning_filt(num):
194 return (r'^\nWarning: \(W{}\) .*\n(In file: .*\n)?'
195 r'(In process: [\w.]* @ .*\n)?').format(num)
196
197 ref_filt = merge_filts(
198 r'^\nInfo: /OSCI/SystemC: Simulation stopped by user.\n',
199 r'^SystemC Simulation\n',
200 warning_filt(571),
1#!/usr/bin/env python2
2#
3# Copyright 2018 Google, Inc.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 184 unchanged lines hidden (view full) ---

193 def warning_filt(num):
194 return (r'^\nWarning: \(W{}\) .*\n(In file: .*\n)?'
195 r'(In process: [\w.]* @ .*\n)?').format(num)
196
197 ref_filt = merge_filts(
198 r'^\nInfo: /OSCI/SystemC: Simulation stopped by user.\n',
199 r'^SystemC Simulation\n',
200 warning_filt(571),
201 warning_filt(540)
201 warning_filt(540),
202 r'^\nInfo: \(I804\) /IEEE_Std_1666/deprecated: ' +
203 r'You can turn off(.*\n){7}'
202 )
203 test_filt = merge_filts(
204 r'^Global frequency set at \d* ticks per second\n'
205 )
206
207 def __init__(self, ref, test, tag, out_dir):
208 super(LogChecker, self).__init__(ref, test, tag)
209 self.out_dir = out_dir

--- 302 unchanged lines hidden ---
204 )
205 test_filt = merge_filts(
206 r'^Global frequency set at \d* ticks per second\n'
207 )
208
209 def __init__(self, ref, test, tag, out_dir):
210 super(LogChecker, self).__init__(ref, test, tag)
211 self.out_dir = out_dir

--- 302 unchanged lines hidden ---