This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Multifile test cases (Re: Intermodule patch)
- From: Matt Austern <austern at apple dot com>
- To: Geoffrey Keating <gkeating at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 9 Jul 2003 12:13:02 -0700
- Subject: Multifile test cases (Re: Intermodule patch)
On Wednesday, July 9, 2003, at 11:58 AM, Geoffrey Keating wrote:
This is the current version of my intermodule optimization patch. I
plan to commit this just as soon as the tree can bootstrap again on
Darwin (grrr).
It still doesn't have a testsuite. That's being worked on, but it
turns out to be hard.
To clarify the meaning of "hard": the point is that, by definition,
real testing of anything intermodular means lots and lots of test
cases that consist of more than one translation unit. The dg test
framework is oriented toward single-file test cases. Currently a
multifile test case involves handcrafted tcl code, which isn't
suitable if you're writing a whole test suite of multifile test
cases.
There are similar problems involved in testing a number of important
C++ features. Alas, the result is that a lot of these features simply
aren't getting tested in any nontrivial way.
No specific promises, but people at Apple have started thinking about
generalizing the assumptions of the existing test framework.
--Matt