This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: auto_ptr problems


On Wed, Jul 03, 2002 at 04:12:21PM -0400, Stephen M. Webb wrote:
> I agree that the expected failure tests should be lumped in with the 
> expected pass tests.  I'd suggest appending rather than prepending the 
> "fail" or whatever bit to the name so it sorts nicely.  It's a small 
> thing but the small things add up.

Good point.

> I'd also point out that unlike the expected pass tests, a separate test 
> source file is required for each expected compilation failure.  You'd 
> end up with
> 
>     nn_foo/topic.cc
>     nn_foo/topic_subtopic.cc
>     nn_foo/topic_fail_reason1.cc
>     nn_foo/topic_fail_reason1.cc
> 
> and so forth.

Yup.  Perhaps Benjamin's idea of a subdirectory is better

    nn_foo/topic.cc
    nn_foo/topic_subtopic.cc
    nn_foo/fail/topic_reason1.cc
    nn_foo/fail/topic_reason2.cc

Just to save typing.

Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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