[email protected] wrote: > Revision > 9632 <http://viewcvs.osafoundation.org/chandler?view=rev&rev=9632> > Author > dan > + #print names of failed tests > + if status == "FAILED": > + print "Failed tests:" > + for tc in self.testcaseList: > + if tc[1] == "FAIL": > + print tc[0] + ' FAILED'
Failure messages to are going into the Tinderbox log should ideally be formatted so that the Tinderbox error parser notices they are errors. Note that I am now talking about the special parser that constructs the log page you see when you click on Tbox to view the log (either full or partial). The job of the error parser on that page is to create hypertext links at the top of the file that you can simply click to quickly find the error line. I haven't checked all of the things that parser catches, but I know 'failed' is one keyword it captures. I think 'error' also works. Best would be to make the failure message where the actual error information is visible. The above case just lists tests that failed, but if that is all we've got then it would be nice to make a small change here: + print tc[0] + ' failed' -- Heikki Toivonen
signature.asc
Description: OpenPGP digital signature
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "Dev" mailing list http://lists.osafoundation.org/mailman/listinfo/dev
