![]() |
The Gaudi Framework
v27r0
|


Public Member Functions | |
| def | PlatformIsNotSupported (self, context, result) |
| def | GetPlatform (self) |
| def | isWinPlatform (self) |
| def | CheckTTreesSummaries |
| def | CheckHistosSummaries |
| def | ValidateWithReference |
| def | ValidateOutput (self, stdout, stderr, result) |
| def | DumpEnvironment (self, result) |
| def | Run (self, context, result) |
| def | RunProgram (self, program, arguments, context, result) |
| def | PlatformIsNotSupported (self, context, result) |
| def | GetPlatform (self) |
| def | isWinPlatform (self) |
| def | CheckTTreesSummaries |
| def | CheckHistosSummaries |
| def | ValidateWithReference |
| def | ValidateOutput (self, stdout, stderr, result) |
| def | DumpEnvironment (self, result) |
| def | Run (self, context, result) |
| def | RunProgram (self, program, arguments, context, result) |
Public Attributes | |
| callable | |
| extra_args | |
| args_order | |
| program | |
| reference | |
| error_reference | |
| use_temp_dir | |
| timeout | |
| signal | |
Static Public Attributes | |
| list | arguments |
Private Member Functions | |
| def | _expandReferenceFileName (self, reffile) |
| def | _CreateEclipseLaunch |
| def | _expandReferenceFileName (self, reffile) |
| def | _CreateEclipseLaunch |
Standard Gaudi test.
Definition at line 1071 of file GaudiTest.py.
|
private |
Definition at line 1676 of file GaudiTest.py.
|
private |
Definition at line 1676 of file GaudiTest.py.
|
private |
Definition at line 1231 of file GaudiTest.py.
|
private |
Definition at line 1231 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.CheckHistosSummaries | ( | self, | |
| stdout, | |||
| result, | |||
| causes, | |||
dict = None, |
|||
ignore = None |
|||
| ) |
Compare the TTree summaries in stdout with the ones in trees_dict or in the reference file. By default ignore the size, compression and basket fields. The presence of TTree summaries when none is expected is not a failure.
Definition at line 1302 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.CheckHistosSummaries | ( | self, | |
| stdout, | |||
| result, | |||
| causes, | |||
dict = None, |
|||
ignore = None |
|||
| ) |
Compare the TTree summaries in stdout with the ones in trees_dict or in the reference file. By default ignore the size, compression and basket fields. The presence of TTree summaries when none is expected is not a failure.
Definition at line 1302 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.CheckTTreesSummaries | ( | self, | |
| stdout, | |||
| result, | |||
| causes, | |||
trees_dict = None, |
|||
ignore = r"Basket|.*size|Compression" |
|||
| ) |
Compare the TTree summaries in stdout with the ones in trees_dict or in the reference file. By default ignore the size, compression and basket fields. The presence of TTree summaries when none is expected is not a failure.
Definition at line 1268 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.CheckTTreesSummaries | ( | self, | |
| stdout, | |||
| result, | |||
| causes, | |||
trees_dict = None, |
|||
ignore = r"Basket|.*size|Compression" |
|||
| ) |
Compare the TTree summaries in stdout with the ones in trees_dict or in the reference file. By default ignore the size, compression and basket fields. The presence of TTree summaries when none is expected is not a failure.
Definition at line 1268 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.DumpEnvironment | ( | self, | |
| result | |||
| ) |
Add the content of the environment to the result object. Copied from the QMTest class of COOL.
Definition at line 1456 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.DumpEnvironment | ( | self, | |
| result | |||
| ) |
Add the content of the environment to the result object. Copied from the QMTest class of COOL.
Definition at line 1456 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.GetPlatform | ( | self | ) |
Return the platform Id defined in CMTCONFIG or SCRAM_ARCH.
Definition at line 1209 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.GetPlatform | ( | self | ) |
Return the platform Id defined in CMTCONFIG or SCRAM_ARCH.
Definition at line 1209 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.isWinPlatform | ( | self | ) |
Return True if the current platform is Windows. This function was needed because of the change in the CMTCONFIG format, from win32_vc71_dbg to i686-winxp-vc9-dbg.
Definition at line 1221 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.isWinPlatform | ( | self | ) |
Return True if the current platform is Windows. This function was needed because of the change in the CMTCONFIG format, from win32_vc71_dbg to i686-winxp-vc9-dbg.
Definition at line 1221 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.PlatformIsNotSupported | ( | self, | |
| context, | |||
| result | |||
| ) |
Definition at line 1195 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.PlatformIsNotSupported | ( | self, | |
| context, | |||
| result | |||
| ) |
Definition at line 1195 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.Run | ( | self, | |
| context, | |||
| result | |||
| ) |
Run the test. 'context' -- A 'Context' giving run-time parameters to the test. 'result' -- A 'Result' object. The outcome will be 'Result.PASS' when this method is called. The 'result' may be modified by this method to indicate outcomes other than 'Result.PASS' or to add annotations.
Definition at line 1467 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.Run | ( | self, | |
| context, | |||
| result | |||
| ) |
Run the test. 'context' -- A 'Context' giving run-time parameters to the test. 'result' -- A 'Result' object. The outcome will be 'Result.PASS' when this method is called. The 'result' may be modified by this method to indicate outcomes other than 'Result.PASS' or to add annotations.
Definition at line 1467 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.RunProgram | ( | self, | |
| program, | |||
| arguments, | |||
| context, | |||
| result | |||
| ) |
Run the 'program'.
'program' -- The path to the program to run.
'arguments' -- A list of the arguments to the program. This
list must contain a first argument corresponding to 'argv[0]'.
'context' -- A 'Context' giving run-time parameters to the
test.
'result' -- A 'Result' object. The outcome will be
'Result.PASS' when this method is called. The 'result' may be
modified by this method to indicate outcomes other than
'Result.PASS' or to add annotations.
@attention: This method has been copied from command.ExecTestBase
(QMTest 2.3.0) and modified to keep stdout and stderr
for tests that have been terminated by a signal.
(Fundamental for debugging in the Application Area)
Definition at line 1556 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.RunProgram | ( | self, | |
| program, | |||
| arguments, | |||
| context, | |||
| result | |||
| ) |
Run the 'program'.
'program' -- The path to the program to run.
'arguments' -- A list of the arguments to the program. This
list must contain a first argument corresponding to 'argv[0]'.
'context' -- A 'Context' giving run-time parameters to the
test.
'result' -- A 'Result' object. The outcome will be
'Result.PASS' when this method is called. The 'result' may be
modified by this method to indicate outcomes other than
'Result.PASS' or to add annotations.
@attention: This method has been copied from command.ExecTestBase
(QMTest 2.3.0) and modified to keep stdout and stderr
for tests that have been terminated by a signal.
(Fundamental for debugging in the Application Area)
Definition at line 1556 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.ValidateOutput | ( | self, | |
| stdout, | |||
| stderr, | |||
| result | |||
| ) |
Definition at line 1391 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.ValidateOutput | ( | self, | |
| stdout, | |||
| stderr, | |||
| result | |||
| ) |
Definition at line 1391 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.ValidateWithReference | ( | self, | |
| stdout, | |||
| stderr, | |||
| result, | |||
| causes, | |||
preproc = None |
|||
| ) |
Default validation action: compare standard output and error to the reference files.
Definition at line 1334 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.ValidateWithReference | ( | self, | |
| stdout, | |||
| stderr, | |||
| result, | |||
| causes, | |||
preproc = None |
|||
| ) |
Default validation action: compare standard output and error to the reference files.
Definition at line 1334 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.args_order |
Definition at line 1405 of file GaudiTest.py.
|
static |
Definition at line 1074 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.callable |
Definition at line 1401 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.error_reference |
Definition at line 1501 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.extra_args |
Definition at line 1402 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.program |
Definition at line 1489 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.reference |
Definition at line 1500 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.signal |
Definition at line 1607 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.timeout |
Definition at line 1538 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.use_temp_dir |
Definition at line 1528 of file GaudiTest.py.