Package buildbot :: Package steps :: Module shell :: Class PerlModuleTest
[frames] | no frames]

Class PerlModuleTest

source code

   process.buildstep.BuildStep --+                
                                 |                
process.buildstep.LoggingBuildStep --+            
                                     |            
                          ShellCommand --+        
                                         |        
               WarningCountingShellCommand --+    
                                             |    
                                          Test --+
                                                 |
                                                PerlModuleTest

Instance Methods
 
evaluateCommand(self, cmd)
Decide whether the command was SUCCESS, WARNINGS, or FAILURE.
source code

Inherited from Test: describe, setTestResults

Inherited from WarningCountingShellCommand: __init__, addSuppression, createSummary, maybeAddWarning, setDefaultWorkdir, start, uploadDone, warnExtractFromRegexpGroups, warnExtractWholeLine

Inherited from ShellCommand: checkForOldSlaveAndLogfiles, setCommand, setStepStatus, setupEnvironment

Inherited from process.buildstep.LoggingBuildStep: addLogFile, checkDisconnect, commandComplete, getText, getText2, interrupt, maybeGetText2, setStatus, setupLogfiles, startCommand

Inherited from process.buildstep.BuildStep: acquireLocks, addCompleteLog, addFactoryArguments, addHTMLLog, addLog, addLogObserver, addURL, failed, finished, getLog, getProperty, getSlaveName, getStepFactory, releaseLocks, runCommand, setBuild, setBuildSlave, setProgress, setProperty, setupProgress, slaveVersion, slaveVersionIsOlderThan, startStep

Class Variables
  command = ['prove', '--lib', 'lib', '-r', 't']
a list of renderable objects (typically strings or WithProperties instances).
  total = 0

Inherited from Test: description, descriptionDone, name, warnOnFailure

Inherited from WarningCountingShellCommand: commentEmptyLineRe, directoryEnterPattern, directoryLeavePattern, suppressionFile, suppressionLineRe, warnCount, warningPattern

Inherited from ShellCommand: flunkOnFailure

Inherited from process.buildstep.LoggingBuildStep: cmd, parms, progressMetrics

Inherited from process.buildstep.BuildStep: alwaysRun, doStepIf, flunkOnWarnings, haltOnFailure, locks, useProgress, warnOnWarnings

Instance Variables

Inherited from ShellCommand: lazylogfiles, logfiles

Inherited from process.buildstep.BuildStep: build, progress, step_status

Method Details

evaluateCommand(self, cmd)

source code 

Decide whether the command was SUCCESS, WARNINGS, or FAILURE. Override this to, say, declare WARNINGS if there is any stderr activity, or to say that rc!=0 is not actually an error.

Overrides: process.buildstep.LoggingBuildStep.evaluateCommand
(inherited documentation)