This is the mail archive of the gcc@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: ACATS & GCC testsuite


On Fri, Mar 28, 2003 at 12:34:33PM +0100, Laurent Guerby wrote:
> On Fri, 2003-03-28 at 11:40, Richard Kenner wrote:
> >     I'm not sure why autogen is needed for testing, the
> >     only thing you need is dejagnu and then "make -k check"
> >     just works. (I have dejagnu-1.4.2-6 on my RedHat 8.0 machine).
> > 
> > But you also have to do a full build and doing it in maintainer-mode is
> > best.  Those require automake, autogen, and autoheader.
> 
> What are the arguments behind "best" here? Are the ACT releases built in
> maintainer-mode? Same question for binary distributors like Linux
> vendors? 
> 
> When I do testing I'd like to test it in a configuration
> where I'm as close as possible as what a user of our source-based
> release would do. Other testing scenario are useful, but far less than
> this one IMHO.
> 
> That's why I by far prefer to have the testing being done
> after install, and not in build like it is done for GCC
> via DejaGNU now. It looks like I have no chance
> of changing this sad state of affair, but well I
> can still make a separate package for Ada.

There's a script in contrib to test an installed compiler.  Right now
it only works for gcc/g++/g77, not any of the libraries; and you need
to add "rootme" to the generated site.exp to use it for C++; but it
does work, and I use it frequently.

> --enable-maintainer-mode
>         The build rules that regenerate the GCC master message catalog
>         gcc.pot are normally disabled. This is because it can only be
>         rebuilt if the complete source tree is present. If you have
>         changed the sources and want to rebuild the catalog, configuring
>         with --enable-maintainer-mode will enable this. Note that you
>         need a recent version of the gettext tools to do so. 
>         
>         
> Is it up to date? Looks like it's mentionning only
> translation stuff. (I've never used maintainer mode.)

No, it's not up to date (and I think that was never really accurate...)

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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