This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ada, testsuite] gnat.dg cleanup
Laurent GUERBY <laurent@guerby.net> writes:
>> > 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".
That's the next step I plan for the ACATS to DejaGnu conversion.
Unfortunately, that doesn't help for the `cleanup after multiple file
test' part.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University