All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
errorlog_test.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 import BaseTest
3 from BaseTest import *
4 
5 class Test(BaseTest):
6 
7  def __init__(self):
8  BaseTest.__init__(self)
9  self.name = os.path.basename(__file__)[:-5]
10  self.args=["$GAUDIEXAMPLESROOT/options/ErrorLog.opts"]
11  self.reference = "refs/ErrorLog.ref"
12  self.error_reference="refs/ErrorLog_err.ref"
13 
14  def validator(self,stdout,stderr, result, causes, reference, error_reference):
15  # Normalize the filename in the output of the test
16  preproc = normalizeExamples + RegexpReplacer(r"(?<=\s)\S+ErrorLogTest\.cpp:", "ErrorLogTest.cpp:", "ErrorLogTest.cpp:")
17  self.validateWithReference(preproc = preproc)
def validateWithReference
Definition: BaseTest.py:330