public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Assume testsuite is okay. How do I know that the install result is  also okay?
@ 2010-02-16  8:15 Dennis Clarke
  2010-02-22  0:59 ` Jie Zhang
  0 siblings, 1 reply; 2+ messages in thread
From: Dennis Clarke @ 2010-02-16  8:15 UTC (permalink / raw)
  To: gcc-help


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?

-- 
Dennis


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Assume testsuite is okay. How do I know that the install result   is also okay?
  2010-02-16  8:15 Assume testsuite is okay. How do I know that the install result is also okay? Dennis Clarke
@ 2010-02-22  0:59 ` Jie Zhang
  0 siblings, 0 replies; 2+ messages in thread
From: Jie Zhang @ 2010-02-22  0:59 UTC (permalink / raw)
  To: dclarke; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-20  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-16  8:15 Assume testsuite is okay. How do I know that the install result is also okay? Dennis Clarke
2010-02-22  0:59 ` Jie Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).