comparison mx/sanitycheck.py @ 10878:d9fcc82766da

disable compilation statistics for benchmarks
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 25 Jul 2013 18:02:29 -0700
parents 8e33b4ebfef1
children 0aba970c89f9
comparison
equal deleted inserted replaced
10877:b4e7f15cebe6 10878:d9fcc82766da
258 258
259 """ 259 """
260 Encapsulates a single program that is a sanity test and/or a benchmark. 260 Encapsulates a single program that is a sanity test and/or a benchmark.
261 """ 261 """
262 class Test: 262 class Test:
263 def __init__(self, name, cmd, successREs=[], failureREs=[], scoreMatchers=[], vmOpts=[], defaultCwd=None, ignoredVMs=[], benchmarkCompilationRate=True): 263 def __init__(self, name, cmd, successREs=[], failureREs=[], scoreMatchers=[], vmOpts=[], defaultCwd=None, ignoredVMs=[], benchmarkCompilationRate=False):
264 264
265 self.name = name 265 self.name = name
266 self.successREs = successREs 266 self.successREs = successREs
267 self.failureREs = failureREs + [re.compile(r"Exception occurred in scope: ")] 267 self.failureREs = failureREs + [re.compile(r"Exception occurred in scope: ")]
268 self.scoreMatchers = scoreMatchers 268 self.scoreMatchers = scoreMatchers