![]() |
The Gaudi Framework
v26r3
|
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 1066 of file GaudiTest.py.
|
private |
Definition at line 1671 of file GaudiTest.py.
|
private |
Definition at line 1671 of file GaudiTest.py.
|
private |
Definition at line 1226 of file GaudiTest.py.
|
private |
Definition at line 1226 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 1297 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 1297 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 1263 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 1263 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 1451 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 1451 of file GaudiTest.py.
def GaudiTest.GaudiExeTest.GetPlatform | ( | self | ) |
Return the platform Id defined in CMTCONFIG or SCRAM_ARCH.
Definition at line 1204 of file GaudiTest.py.
def GaudiTest.GaudiExeTest.GetPlatform | ( | self | ) |
Return the platform Id defined in CMTCONFIG or SCRAM_ARCH.
Definition at line 1204 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 1216 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 1216 of file GaudiTest.py.
def GaudiTest.GaudiExeTest.PlatformIsNotSupported | ( | self, | |
context, | |||
result | |||
) |
Definition at line 1190 of file GaudiTest.py.
def GaudiTest.GaudiExeTest.PlatformIsNotSupported | ( | self, | |
context, | |||
result | |||
) |
Definition at line 1190 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 1462 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 1462 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 1551 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 1551 of file GaudiTest.py.
def GaudiTest.GaudiExeTest.ValidateOutput | ( | self, | |
stdout, | |||
stderr, | |||
result | |||
) |
Definition at line 1386 of file GaudiTest.py.
def GaudiTest.GaudiExeTest.ValidateOutput | ( | self, | |
stdout, | |||
stderr, | |||
result | |||
) |
Definition at line 1386 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 1329 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 1329 of file GaudiTest.py.
GaudiTest.GaudiExeTest.args_order |
Definition at line 1400 of file GaudiTest.py.
|
static |
Definition at line 1069 of file GaudiTest.py.
GaudiTest.GaudiExeTest.callable |
Definition at line 1396 of file GaudiTest.py.
GaudiTest.GaudiExeTest.error_reference |
Definition at line 1496 of file GaudiTest.py.
GaudiTest.GaudiExeTest.extra_args |
Definition at line 1397 of file GaudiTest.py.
GaudiTest.GaudiExeTest.program |
Definition at line 1484 of file GaudiTest.py.
GaudiTest.GaudiExeTest.reference |
Definition at line 1495 of file GaudiTest.py.
GaudiTest.GaudiExeTest.signal |
Definition at line 1602 of file GaudiTest.py.
GaudiTest.GaudiExeTest.timeout |
Definition at line 1533 of file GaudiTest.py.
GaudiTest.GaudiExeTest.use_temp_dir |
Definition at line 1523 of file GaudiTest.py.