This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Complicated dg test cases


On Sat, Jan 31, 2004 at 08:27:41PM -0800, Janis Johnson wrote:
> On Sat, Jan 31, 2004 at 04:26:24PM -0800, Matt Austern wrote:
> > 
> > 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?
> 
> Several months ago, or maybe more than a year ago, I submitted a patch
> for the binary compatibility tests in gcc.dg/compat and g++dg/compat to
> builds pieces of a test into shared objects and static archives as well
> as relocatable object files.  It wasn't reviewed and I got sidetracked.
> There are lots of problems that could be discovered with tests like
> that.  I'll dig it up and let you take a look at it.  I'm very far
> behind with everything right now; how urgent is this for you?

Found it:  http://gcc.gnu.org/ml/gcc-patches/2002-10/msg01332.html.
It handles shared objects, not static archives, but the same sort of
thing could be done.  Combinations object types (.o, .a, and .so) for
the pieces of a test might also be useful.

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]