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: RFC: Generated structure layout tests for gcc.dg/compat/struct-layout-1 (take 2)


On Wed, Jul 21, 2004 at 09:41:33AM -0700, Janis Johnson wrote:
> > Do you think the tests should be part of make check or should we add say
> > make xcheck (like glibc has) for tests which probably don't have to be run
> > after every single GCC change, but would be good to run every now and then?
> 
> I'd like to see them run every time, but then I don't yet know how much
> time they take.

I have run it now on x86-64 box with today's GCC HEAD and -m32 option.
I was not using ALT_CC_UNDER_TEST, so each test was built only once, not 4
times as with ALT_CC_UNDER_TEST.  The testsuite run took 12 minutes,
5 tests aborted (one is the struct { int:0; } argument passing, the other
4 might be the same bug, but I haven't analyzed, 23 tests failed to link
(at least some of them are still testsuite bugs, e.g. the generator was
putting flexible arrays even into unions where they should not appear,
I'll keep working on it) and remaining 120 tests succeeded.

With the way the generator is written, it is not hard to e.g. generate
one fourth of the current tests for everyday use by everybody (3 minutes
testsuite run ought to be already acceptable I think) and leave the
remaining tests there enabled by some env variable or some other way
to turn more tests on.

	Jakub


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