Python pretty-printing [2/6]

Thiago Jung Bauermann bauerman@br.ibm.com
Fri Apr 3 20:36:00 GMT 2009


El jue, 02-04-2009 a las 18:23 -0600, Tom Tromey escribió:
> >>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
> Thiago> Also, just to check: the lack of testcases is because you believe this
> Thiago> code is tested enough with python-prettyprint.exp in a later patch?
> 
> You know, I am not sure.  This class doesn't provide much behavior
> yet.  And, the most important bits are tested by the pretty-printer.
> I'm inclined not to bother, but if you (or anybody) thinks it is
> important, I suppose I can whip something up.

Well, my policy with python testcases has been to at least smoke-test
all of the API supported by GDB. That way, if we make an API-breaking
change, at least one testcase will fail.

I won't insist that it is important to do this, since I believe it's not
hard to spot API changes by looking at a patch.
-- 
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center



More information about the Gdb-patches mailing list