compile time testsuite [Re: alias slowdown?]

Dave Korn dave.korn@artimi.com
Tue Nov 21 15:25:00 GMT 2006


On 21 November 2006 13:54, Benjamin Kosnik wrote:


> My suggestion would be to check in
> 
> all.i
> bug2.ii
> cpgram.ii
> 
> And whatever stuff there is for measuring slowdowns, and then create
> an optional "make check-compile" rule for gcc/Makefile that runs
> through the tests. I believe that you will have to make this testing
> always optional, since there will no doubt be pathological behavior
> involved.
> 
> Then you could do
> 
> time make check-compile
> 
> And get a better picture of what's up. I'm sure there are other ways
> of doing this (better?), and I'd be interested in hearing them.

  We already have a suitable mechanism, there's no need to trouble with a new
top-level make target.  Just add a time-compile.exp script and use
RUNTESTFLAGS to specify it if you want to run it on its own.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Gcc mailing list