[Buildbot-devel] Marking a build step as failed unless the STDOUT contains a magic string.

Matisse Enzer matisse at matisse.net
Tue Jan 22 15:51:56 UTC 2008


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?

-M

-------------------------------------------------------
Matisse Enzer <matisse at matisse.net>
http://www.matisse.net/  - http://www.eigenstate.net/







More information about the devel mailing list