[Buildbot-devel] Marking a build step as failed unless the STDOUT contains a magic string.
Stefan Seefeld
seefeld at sympatico.ca
Tue Jan 22 16:01:31 UTC 2008
Matisse Enzer wrote:
> I have two factory steps:
>
> f1.addStep(shell.ShellCommand, command=['make', 'smoke'])
> f1.addStep(shell.ShellCommand, command=['make', 'languages-smoke'])
>
> and I need to mark each step as a failure unless the stdout contains a
> line
> exactly matching:
> ^All tests successful.$
>
> Is there a "best practice" for doing this sort of thing?
Why don't you simply integrate the validation step into your 'smoke'
Makefile rule ? Sounds much easier than adding testing capabilities to
buildbot.
Regards,
Stefan
--
...ich hab' noch einen Koffer in Berlin...
More information about the devel
mailing list