This is the mail archive of the
mailing list for the GCC project.
Re: Is test case with 700k lines of code a valid test case?
- From: <Paul_Koning at Dell dot com>
- To: <cbergstrom at pathscale dot com>
- Cc: <tarasevich at cs dot uni-saarland dot de>, <gcc at gcc dot gnu dot org>
- Date: Mon, 14 Mar 2016 16:51:20 +0000
- Subject: Re: Is test case with 700k lines of code a valid test case?
- Authentication-results: sourceware.org; auth=none
- References: <F3880EB7-70F6-475B-A6E6-363B50DD2AD4 at cs dot uni-saarland dot de> <CAOnawYqoZhytKOq=tect8FFo+QmW_--3sgKq7oG1Qh0cVQXZhA at mail dot gmail dot com> <D3072B8F-770F-4951-A61D-8658659AB1C6 at cs dot uni-saarland dot de> <CAOnawYqo-3q8isc-s46OCsUO_993MMibkBk7vhtT_x=ki+C-QQ at mail dot gmail dot com>
> On Mar 14, 2016, at 12:05 PM, C BergstrÃm <email@example.com> wrote:
> I don't speak with any community authority - I think your test tool is
> misconfigured then. I don't see any pragmatic reason to generate such
> a test. It's unlikely to mirror any real world code and artificial
> test cases like this, at best only serve as some arbitrary data point.
I don't agree. Generated code often produces very large files. Also, proper handling of resource issues is important, because where those issues hit depends on the environment, and for some users might be in perfectly plausible code. An error message that says "I can't handle this" is fine. But a crash gives the user no information what is wrong, no suggestions on how to avoid the problem.