regrtest.py should output all the names of the tests that fail and their tracebacks on stderr. This will provide an easy way to filter out the relevant information (errors and tracebacks) from all the other outputs. The current behavior seems incoherent, some tracebacks are sent to stdout and other to stderr (see attached log).
Hello, the attached patch seems to do the trick, at least on what I can verify here on my machine. I'd appreciate a bit more of test from more experienced developers, just to catch corner cases I didn't see. Regards, Sandro
I've decided that writing (some) errors to stdout instead of stderr is really a bug, not a feature request, and have backported this fix to 3.1 in r87053 and to 2.7 in r87055. The one possible reason not to do this is that it is conceivable that it would affect the error reporting from an automated acceptance test (say for a distro). This seems unlikely to me, but if anyone thinks it is a serious concern I'll back out the backports.