Assume testsuite is okay. How do I know that the install result is also okay?

Jie Zhang jzhang918@gmail.com
Mon Feb 22 00:59:00 GMT 2010


On Tue, Feb 16, 2010 at 1:44 PM, Dennis Clarke <dclarke@blastwave.org> wrote:
>
> This may seem like an odd question but I have spent some time looking at
> this and wondering.
>
> Assume that I have performed a full three stage bootstrap and then ran the
> testsuite. Assume that I was happy with the results and then ran the
> install.
>
> How do I know that the resultant compiler that is now in the --prefix=dir
> is also complete and "okay" ?
>
> The testsuite was run while the present working dir was the objdir.
> However after install we assume that everything lands correctly in the
> destination. Can we also run the testsuite *after* install and only with
> the compiler in the final install location?
>
Yes. You can take a look at test_gcc in the following file:

http://blackfin.uclinux.org/gf/project/toolchain/scmsvn/?action=browse&path=%2Ftrunk%2Fbuildscript%2Ftoolchain-regtest&view=markup&revision=3942

Jie



More information about the Gcc-help mailing list