This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Integrate ABI testsuite in GCC
- From: "Sam Lauber" <sam124 at operamail dot com>
- To: "Michael Matz" <matz at suse dot de>, gcc at gcc dot gnu dot org
- Date: Mon, 13 Jun 2005 20:35:42 +0100
- Subject: Re: RFA: Integrate ABI testsuite in GCC
> I have this x86-64 ABI testsuite I worked on lately again (after some
> years lingering around, it was first written when we did the port on
> simulators still). It currently lies on cvs.x86-64.org in the 'abitest'
> module, for the curious (it has anoncvs too).
> I would like to somehow integrate this into GCC, so that it is run
> automatically when doing a make check. I've pondered about several ways
> to do this:
> 1) add something like --with-abitest=/dir/to/abitest to gccs configure
> make check could then use this external path to run the ABI testsuite
> 2) mirror the testsuite somehow inside GCC's CVS to be tighly integrated
>
> I'm not sure which way is best. The second one has the advantage that you
> can't miss running it, when just checking out GCC and developing on it.
> The first one has the advantage the GCC's CVS would not be clobbered with
> something external, and very architecture specific.
>
> Currently the testsuite contains some testcase generators written in C,
> and some hand-written testcases. I'm thinking about rewriting the
> generators at least in something better suited to text manipulation, i.e.
> bash or perl. What would be the feeling having such kind of stuff in
> GCC's CVS?
That stuff should go in directories like `gcc/config/PLATFORM/'. Even better,
make the testsuite platform-independant. And write the generators in
perl ;-).
> Basically I'm looking for some consensus how to make my above goal
happen.
> So anyone any suggestions, ideas, flames?
What about a more generic mechanisim `--with-extratest=/path/to/test'
that causes an extra testsuite in that path to be executed as part of `make
test'? Maybe even the GCC testsuite could be based on an even more generic
harness mechanisim that expects test information in some agreed output
format (I'm thinking TAP) and tests everything and outputs it in a format
similar to the current format.
Samuel Lauber
--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com
Powered by Outblaze