This is the mail archive of the gcc-patches@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: [ada, testsuite] gnat.dg cleanup


On Tue, 2011-01-11 at 13:03 +0100, Arnaud Charlet wrote:
> > > The problem is that the current infrastructure already is very
> > > unfriendly
> > > to multiple file tests, so this change is making it a bit more unfriendly,
> > > so that's not really going in the right direction unfortunately (and is
> > > probably one of the reasons there are not more tests in this category).
> > 
> > There are indeed far more tests in ada/acats/tests/gcc...  There are few
> > such tests simply because we try and reduce testcases as much as possible.
> 
> Yes, but that's not always possible and when you do need multiple file tests,
> it's such a pain that basically, it's an incentive not to put any test at
> all.
> 
> The fact that several acats tests also require multiple files is indeed a
> good sign that the current infrastructure isn't very friendly.

ACATS also uses gnatchop, may be we could teach dejagnu
about gnatchop'ing, ie recognize file like "testname.ada"
and do "gnatchop testname.ada; gnatmake testname".

At least for compile or executable tests, non compile tests
might fail to gnatchop properly.

Laurent




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