verify.py (13178:1e2d0a8ffdb0) verify.py (13181:768a9881729b)
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;

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

147 ]
148 curdir = os.getcwd()
149 def run_test(test):
150 cmd = []
151 if args.timeout:
152 cmd.extend(timeout_cmd)
153 cmd.extend([
154 test.full_path(),
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;

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

147 ]
148 curdir = os.getcwd()
149 def run_test(test):
150 cmd = []
151 if args.timeout:
152 cmd.extend(timeout_cmd)
153 cmd.extend([
154 test.full_path(),
155 '-red', os.path.abspath(test.m5out_dir()),
155 '-rd', os.path.abspath(test.m5out_dir()),
156 '--listener-mode=off',
157 '--quiet',
158 config_path,
159 '--working-dir',
160 os.path.dirname(test.src_dir())
161 ])
162 # Ensure the output directory exists.
163 if not os.path.exists(test.m5out_dir()):

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

220 r'^SystemC Simulation\n',
221 r'^\nInfo: \(I804\) /IEEE_Std_1666/deprecated: ' +
222 r'You can turn off(.*\n){7}',
223 r'^\nInfo: \(I804\) /IEEE_Std_1666/deprecated: \n' +
224 r' sc_clock\(const char(.*\n){3}',
225 warning_filt(540),
226 warning_filt(569),
227 warning_filt(571),
156 '--listener-mode=off',
157 '--quiet',
158 config_path,
159 '--working-dir',
160 os.path.dirname(test.src_dir())
161 ])
162 # Ensure the output directory exists.
163 if not os.path.exists(test.m5out_dir()):

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

220 r'^SystemC Simulation\n',
221 r'^\nInfo: \(I804\) /IEEE_Std_1666/deprecated: ' +
222 r'You can turn off(.*\n){7}',
223 r'^\nInfo: \(I804\) /IEEE_Std_1666/deprecated: \n' +
224 r' sc_clock\(const char(.*\n){3}',
225 warning_filt(540),
226 warning_filt(569),
227 warning_filt(571),
228 error_filt(514),
229 error_filt(515),
230 error_filt(525),
231 error_filt(541),
232 error_filt(542),
233 error_filt(543),
234 info_filt(804),
235 in_file_filt,
236 )
237 test_filt = merge_filts(
238 r'^Global frequency set at \d* ticks per second\n',
228 info_filt(804),
229 in_file_filt,
230 )
231 test_filt = merge_filts(
232 r'^Global frequency set at \d* ticks per second\n',
233 r'^info: Entering event queue @ \d*\. Starting simulation\.\.\.\n',
234 r'warn: [^(]+\([^)]*\)( \[with [^]]*\])? not implemented\.\n',
239 info_filt(804),
240 in_file_filt,
241 )
242
243 def __init__(self, ref, test, tag, out_dir):
244 super(LogChecker, self).__init__(ref, test, tag)
245 self.out_dir = out_dir
246

--- 313 unchanged lines hidden ---
235 info_filt(804),
236 in_file_filt,
237 )
238
239 def __init__(self, ref, test, tag, out_dir):
240 super(LogChecker, self).__init__(ref, test, tag)
241 self.out_dir = out_dir
242

--- 313 unchanged lines hidden ---