Trees | Indices | Help |
|
---|
|
object --+ | process.properties.PropertiesMixin --+ | process.buildstep.BuildStep --+ | process.buildstep.LoggingBuildStep --+ | ShellCommand --+ | WarningCountingShellCommand
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
Static Methods | |
Inherited from |
Class Variables | |
renderables =
|
|
warnCount = 0
|
|
warningPattern =
|
|
directoryEnterPattern =
|
|
directoryLeavePattern =
|
|
suppressionFile = None hash(x) |
|
commentEmptyLineRe = re.compile(r'^\s
|
|
suppressionLineRe = re.compile(r'^\s
|
|
Inherited from Inherited from Inherited from |
Instance Variables | |
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
This method can be used to add patters of warnings that should not be counted. It takes a single argument, a list of patterns. Each pattern is a 4-tuple (FILE-RE, WARN-RE, START, END). FILE-RE is a regular expression (string or compiled regexp), or None. If None, the pattern matches all files, else only files matching the regexp. If directoryEnterPattern is specified in the class constructor, matching is against the full path name, eg. src/main.c. WARN-RE is similarly a regular expression matched against the text of the warning, or None to match all warnings. START and END form an inclusive line number range to match against. If START is None, there is no lower bound, similarly if END is none there is no upper bound. |
Extract warning text as the whole line. No file names or line numbers. |
|
Match log lines against warningPattern. Warnings are collected into another log for this step, and the build-wide 'warnings-count' is updated. |
|
Class Variable Details |
directoryEnterPattern
|
suppressionLineRe
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Nov 21 16:22:47 2012 | http://epydoc.sourceforge.net |