[Buildbot-devel] Warning exit codes?

tom fogal tfogal at alumni.unh.edu
Sat Mar 27 17:21:35 UTC 2010


Hi all,

I'm curious if anyone has attempted to expand bbot's ideas of exit
code, perhaps to POSIX 1003.3 semantics.  Unfortunately I can't seem to
find that document, but a couple of second hand resources are:

  http://cr3bits.wordpress.com/2009/06/23/test-result-codes/
  http://www.delorie.com/gnu/docs/dejagnu/dejagnu_6.html

Basically they define a set of (abstract) exit codes: not just PASS and
FAIL, but additional ones such as XFAIL, which says, "this test failed,
but I knew it would, because due to specifics of the environment which
the test has no control over, this code can't run successfully."

I was considering defining a mapping of hopefully-unused exit codes
to return these types of statuses.  In the end, what I want is
my /builders page to give more fine grained indication of what's
happening: for example, if a build completed, but had warnings, maybe
color the result as green-but-slightly-orange instead of green.

Thoughts?  Interest?

-tom




More information about the devel mailing list