![]() |
The Gaudi Framework
v26r1
|


Public Member Functions | |
| def | PlatformIsNotSupported |
| def | GetPlatform |
| def | isWinPlatform |
| def | CheckTTreesSummaries |
| def | CheckHistosSummaries |
| def | ValidateWithReference |
| def | ValidateOutput |
| def | DumpEnvironment |
| def | Run |
| def | RunProgram |
| def | PlatformIsNotSupported |
| def | GetPlatform |
| def | isWinPlatform |
| def | CheckTTreesSummaries |
| def | CheckHistosSummaries |
| def | ValidateWithReference |
| def | ValidateOutput |
| def | DumpEnvironment |
| def | Run |
| def | RunProgram |
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 |
| def | _CreateEclipseLaunch |
| def | _expandReferenceFileName |
| def | _CreateEclipseLaunch |
Standard Gaudi test.
Definition at line 1064 of file GaudiTest.py.
|
private |
Definition at line 1667 of file GaudiTest.py.
|
private |
Definition at line 1667 of file GaudiTest.py.
|
private |
Definition at line 1224 of file GaudiTest.py.
|
private |
Definition at line 1224 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 1293 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 1293 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 1259 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 1259 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 1447 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 1447 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.GetPlatform | ( | self | ) |
Return the platform Id defined in CMTCONFIG or SCRAM_ARCH.
Definition at line 1202 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.GetPlatform | ( | self | ) |
Return the platform Id defined in CMTCONFIG or SCRAM_ARCH.
Definition at line 1202 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 1214 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 1214 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.PlatformIsNotSupported | ( | self, | |
| context, | |||
| result | |||
| ) |
Definition at line 1188 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.PlatformIsNotSupported | ( | self, | |
| context, | |||
| result | |||
| ) |
Definition at line 1188 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 1458 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 1458 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 1547 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 1547 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.ValidateOutput | ( | self, | |
| stdout, | |||
| stderr, | |||
| result | |||
| ) |
Definition at line 1382 of file GaudiTest.py.
| def GaudiTest.GaudiExeTest.ValidateOutput | ( | self, | |
| stdout, | |||
| stderr, | |||
| result | |||
| ) |
Definition at line 1382 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 1325 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 1325 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.args_order |
Definition at line 1396 of file GaudiTest.py.
|
static |
Definition at line 1067 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.callable |
Definition at line 1392 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.error_reference |
Definition at line 1492 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.extra_args |
Definition at line 1393 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.program |
Definition at line 1480 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.reference |
Definition at line 1491 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.signal |
Definition at line 1598 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.timeout |
Definition at line 1529 of file GaudiTest.py.
| GaudiTest.GaudiExeTest.use_temp_dir |
Definition at line 1519 of file GaudiTest.py.