[testsuite, ada] Convert ACATS to DejaGnu (PR testsuite/37703)
Joseph S. Myers
joseph@codesourcery.com
Tue Feb 1 21:32:00 GMT 2011
On Tue, 1 Feb 2011, Dave Korn wrote:
> >> How many layers of nested parentheses /should/ we be able to support, in how
> >> much memory? limits-exprparen.c keeps growing...
> >>
> >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827
> >
> > I'd say we should support as many as allowed by available memory.
>
> Then the limits-exprparen.c test is quite meaningless and should just be
> deleted.
On the contrary, it has a clear purpose: to test that a reasonable number
of parentheses work within reasonable resources. We should support far
more than is reasonable to test in the testsuite, but if bugs relating to
excessive resource consumption are fixed we should still test a reasonable
(smaller) case to make sure they stay fixed. (Whether the current state
is reasonable I don't know - and if the bug was never fixed that's a case
for at least XFAILing the test; we have Bugzilla to track known bugs in
preference to FAILs in the testsuite.)
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc-patches
mailing list