Package buildbot :: Package steps :: Module subunit
[frames] | no frames]

Source Code for Module buildbot.steps.subunit

 1   
 2  from buildbot.steps.shell import ShellCommand 
 3   
4 -class SubunitShellCommand(ShellCommand):
5 """A ShellCommand that sniffs subunit output. 6 7 Ideally not needed, and thus here to be trivially deleted. See issue #615 8 """ 9
10 - def __init__(self, *args, **kwargs):
11 ShellCommand.__init__(self, *args, **kwargs) 12 # importing here gets around an import loop 13 from buildbot.process import subunitlogobserver 14 self.addLogObserver('stdio', subunitlogobserver.SubunitLogObserver()) 15 self.progressMetrics = self.progressMetrics + ('tests', 'tests failed')
16