[Buildbot-devel] parsing googletests, collecting stats

Tom Prince tom.prince at ualberta.net
Tue Oct 30 20:35:01 UTC 2012


Andy Howell <andy at gamubaru.com> writes:

> I want to use buildbot to run unit tests written with googletest. I'd like to do two 
> things, first is display the number of tests the passed and failed on the web page, 
> similar to the way that compile warnings are.
>
> The second thing on the to-list is to collect test results and display historical trends.
>
> Anyone have code or pointers on doing this?

Here is some code I wrote to parse a custom test harness. It isn't the
best code ever (I wrote it and then haven't touched it since), but it
might give you a place to start.

https://github.com/tomprince/buildbot-configs/blob/notmuch/notmuch_test.py

  Tom




More information about the devel mailing list