This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Python pretty-printing [2/6]
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