![]() |
The Gaudi Framework
v25r6p1
|
Classes | |
| class | BaseTest |
| class | BasicOutputValidator |
| class | BlockSkipper |
| class | FilePreprocessor |
| class | FilePreprocessorSequence |
| class | LineSkipper |
| class | LineSorter |
| Special preprocessor sorting the list of strings (whitespace separated) that follow a signature on a single line. More... | |
| class | ReferenceFileValidator |
| class | RegexpReplacer |
| class | Result |
Functions | |
| def | ROOT6WorkAroundEnabled |
| def | RationalizePath |
| def | which |
| def | findTTreeSummaries |
| def | cmpTreesDicts |
| def | getCmpFailingValues |
| def | _parseTTreeSummary |
| def | parseHistosSummary |
| def | findHistosSummaries |
| def | PlatformIsNotSupported |
| def | GetPlatform |
| def | isWinPlatform |
| def | _expandReferenceFileName |
Variables | |
| tuple | maskPointers = RegexpReplacer("0x[0-9a-fA-F]{4,16}","0x########") |
| tuple | normalizeDate |
| tuple | normalizeEOL = FilePreprocessor() |
| tuple | skipEmptyLines = FilePreprocessor() |
| normalizeExamples = maskPointers+normalizeDate | |
| tuple | lineSkipper |
| tuple | h_count_re = re.compile(r"^(.*)SUCCESS\s+Booked (\d+) Histogram\(s\) :\s+(.*)") |
|
private |
Definition at line 999 of file BaseTest.py.
|
private |
Parse the TTree summary table in lines, starting from pos. Returns a tuple with the dictionary with the digested informations and the position of the first line after the summary.
Definition at line 830 of file BaseTest.py.
| def BaseTest.cmpTreesDicts | ( | reference, | |
| to_check, | |||
ignore = None |
|||
| ) |
Check that all the keys in reference are in to_check too, with the same value.
If the value is a dict, the function is called recursively. to_check can
contain more keys than reference, that will not be tested.
The function returns at the first difference found.
Definition at line 785 of file BaseTest.py.
| def BaseTest.findHistosSummaries | ( | stdout | ) |
Scan stdout to find ROOT TTree summaries and digest them.
Definition at line 944 of file BaseTest.py.
| def BaseTest.findTTreeSummaries | ( | stdout | ) |
Scan stdout to find ROOT TTree summaries and digest them.
Definition at line 764 of file BaseTest.py.
| def BaseTest.getCmpFailingValues | ( | reference, | |
| to_check, | |||
| fail_path | |||
| ) |
Definition at line 816 of file BaseTest.py.
| def BaseTest.GetPlatform | ( | self | ) |
Return the platform Id defined in CMTCONFIG or SCRAM_ARCH.
Definition at line 976 of file BaseTest.py.
| def BaseTest.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 988 of file BaseTest.py.
| def BaseTest.parseHistosSummary | ( | lines, | |
| pos | |||
| ) |
Extract the histograms infos from the lines starting at pos.
Returns the position of the first line after the summary block.
Definition at line 879 of file BaseTest.py.
| def BaseTest.PlatformIsNotSupported | ( | self, | |
| context, | |||
| result | |||
| ) |
Definition at line 966 of file BaseTest.py.
| def BaseTest.RationalizePath | ( | p | ) |
| def BaseTest.ROOT6WorkAroundEnabled | ( | id = None | ) |
Definition at line 403 of file BaseTest.py.
| def BaseTest.which | ( | executable | ) |
Locates an executable in the executables path ($PATH) and returns the full path to it. An application is looked for with or without the '.exe' suffix. If the executable cannot be found, None is returned
Definition at line 436 of file BaseTest.py.
| tuple BaseTest.h_count_re = re.compile(r"^(.*)SUCCESS\s+Booked (\d+) Histogram\(s\) :\s+(.*)") |
Definition at line 827 of file BaseTest.py.
| tuple BaseTest.lineSkipper |
Definition at line 673 of file BaseTest.py.
| tuple BaseTest.maskPointers = RegexpReplacer("0x[0-9a-fA-F]{4,16}","0x########") |
Definition at line 628 of file BaseTest.py.
| tuple BaseTest.normalizeDate |
Definition at line 629 of file BaseTest.py.
| tuple BaseTest.normalizeEOL = FilePreprocessor() |
Definition at line 631 of file BaseTest.py.
| tuple BaseTest.normalizeExamples = maskPointers+normalizeDate |
Definition at line 654 of file BaseTest.py.
| tuple BaseTest.skipEmptyLines = FilePreprocessor() |
Definition at line 634 of file BaseTest.py.