[patch] : RFC - expanding the testsuite to try multiple iterator categories
Chris Jefferson
caj@cs.york.ac.uk
Sat Mar 19 13:54:00 GMT 2005
Apologises for the continuing postings of not-entirely complete patches,
I'm just trying to gather opinions on another change.
This one is entirely testsuite based, so shouldn't make any real
difference. It changes tests so that they are run on all possible
iterator types a class accepts, rather than just the simplest one it
takes (so that all specialisations will be tested).
Unfortunatly I've been unable to make it look as nice as I'd like, and
it involves wrapping templated tests in a class so that they can be
passed around. If people vote that this just looks too messy /
complicated, then I'll just have eash testcase have 3 or 4 almost
identical blocks which test the various types of iterators...
If I don't hear any specific complaints against this, I'll assume that
no-one has a great problem with it, and I'll start adding them to other
tests (my long-term aim is to get to the point where I can call gcov
over the testsuite and get total coverage of the <algorithm> header.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050319/c0603a45/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testpatch
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20050319/c0603a45/attachment-0001.ksh>
More information about the Libstdc++
mailing list