[Buildbot-devel] py.test and buildbot

Paul Warren u3292467 at anu.edu.au
Wed May 11 07:47:42 UTC 2005


Hi there again!

Our buildbot is working very nicely now (http://hobo.anu.edu.au:8080)

as you can see, our tests seem to pass :o)  But the don't, looking at
the log, py.test gives us a few Fails.  We'd like the waterfall to be
red when py.test[1] gives us 1 or more failed tests.

  It seems that the buildbot 'test' action relies on the return value of
the command to determine if it should log the test as failing or
passing, and py.test returns 0 (all normal) unless it dies unexpectedly.

So, can anyone tell me how to get the desired output from buildbot? Or
will I have to fix py.test

Cheers
-- 
Paul Warren
Information Infrastructure Services
ANU SuperComputer Facility
Leonard Huxley, Rm 331
u3292467 at anu dot edu dot au
pwarren.homelinux.org
ph: 612 51481


[1] http://codespeak.net/py/current/doc/test.html




More information about the devel mailing list