This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Complicated dg test cases
- From: Matt Austern <austern at apple dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 31 Jan 2004 16:26:24 -0800
- Subject: Complicated dg test cases
OK, now I have to plead for help. There's one important corner case on
Darwin ("important" meaning that you're almost certain to get it wrong
if you don't deal with it specially) that isn't covered by any existing
test case and that requires some icky stuff: building a static archive
and then linking against it. This test cannot be rewritten to avoid
the .a, because what we're testing is very specifically the interaction
between static archives and our template implementation.
Here's one way to write the test case. What I don't know is how to put
this in a form where it can become part of the dg test suite. Any
advice?
--Matt
Attachment:
archivetest.tar
Description: Unix tar archive