Definition at line 5 of file timing_histos_test.py.
| def newFormat.timing_histos_test.Test.__init__ |
( |
|
self | ) |
|
Definition at line 7 of file timing_histos_test.py.
9 BaseTest.__init__(self)
10 self.
name = os.path.basename(__file__)[:-5]
12 self.
args=[
"$GAUDIEXAMPLESROOT/options/TimingHistograms.py"]
13 self.
reference=
"refs/TimingHistograms.ref"
| def newFormat.timing_histos_test.Test.validator |
( |
|
self, |
|
|
|
stdout, |
|
|
|
stderr, |
|
|
|
result, |
|
|
|
causes, |
|
|
|
reference, |
|
|
|
error_reference |
|
) |
| |
Definition at line 14 of file timing_histos_test.py.
15 def validator(self,stdout,stderr, result, causes, reference, error_reference):
21 from subprocess
import Popen, PIPE
23 testscript = os.path.join(os.environ[
'GAUDIEXAMPLESROOT'],
'tests',
'scripts',
'test_timing_histo_file.py')
25 test = Popen([
'python', testscript], stdout=PIPE, stderr=PIPE)
26 out, err = test.communicate()
28 result[
'root_file_check.returncode'] = str(test.returncode)
30 causes.append(
'root file content')
33 result[
'root_file_check.stdout'] = result.Quote(out)
36 causes.append(
'standard error')
37 result[
'root_file_check.stderr'] = result.Quote(err)
def validateWithReference
| newFormat.timing_histos_test.Test.args |
| newFormat.timing_histos_test.Test.name |
| newFormat.timing_histos_test.Test.program |
| newFormat.timing_histos_test.Test.reference |
The documentation for this class was generated from the following file: