Testsuite and Fortran
Jeffrey A Law
law@redhat.com
Mon Jan 22 16:30:00 GMT 2001
In message <Pine.BSF.4.31.0101222125580.52312-100000@taygeta.dbai.tuwien.ac.a
t>you write:
> On Mon, 22 Jan 2001, Gerald Pfeifer wrote:
> > I usually configure my tree without Fortran.
>
> I realized that I haven't been clear enough!
>
> The problem is that I configured *without* Fortran, and then the testsuite
> used an old version of g77 in my path.
>
> There are two bugs here, IMO:
>
> 1. Frontends that have not been configured should not be tested by
> make check.
>
> 2. Even *if* frontend that has not been configured is tested (either
> as a result of the first bug or explicitly), never ever should an
> installed version be used, just because it is in the path.
>
> Instead, an error message should be issued.
The testsuite's behavior is as expected.
If it can't find suitable binaries for testing in the current directory, then
it will run them out of your path. It's not that uncommon to want to run
the testsuite against an installed compiler.
jeff
More information about the Gcc
mailing list