Skip to content

Commit

Permalink
Add documentation for new SubunitShellCommand param
Browse files Browse the repository at this point in the history
Text from liucougar at #88
  • Loading branch information
djmitche committed Apr 1, 2011
1 parent 966ea23 commit 0a454cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion master/docs/cfg-buildsteps.texinfo
Expand Up @@ -1625,12 +1625,15 @@ through a subunit filter to extract test and failure counts.

@example
from buildbot.steps.subunit import SubunitShellCommand
f.addStep(SubunitShellCommand(command="make test"))
f.addStep(SubunitShellCommand(command="make test", failureOnNoError=False))
@end example

This runs @code{make test} and filters it through subunit. The 'tests' and
'test failed' progress metrics will now accumulate test data from the test run.

If @code{failureOnNoError} is True, this step will fail if no test is run. By
default @code{failureOnNoError} is False.

@node Python BuildSteps
@subsection Python BuildSteps

Expand Down

1 comment on commit 0a454cc

@liucougar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

failureOnNoError should have been failureOnNoTests

sorry about the trouble

Please sign in to comment.