[RFA] testsuite cleanups (part 2)
Elena Zannoni
ezannoni@redhat.com
Tue Jul 29 21:37:00 GMT 2003
Michael Snyder writes:
> Elena Zannoni wrote:
>
> >Here, I am observing a peculiar situation. If you run the testsuite in
> >a directory that is not the build directory, i.e. the gdb.blah object
> >dirs are recreated outside of the build tree, you will see that all
> >the tests which use pthreads.c will not compile. This is because
> >pthreads.c includes "config.h" which gets created in the build
> >gdb/testsuite directory at configure time. Config.h was used to
> >determine if there is posix thread support or not, but now we use the
> >method of trying to compile with various -lblah so we don't really
> >need this anymore.
> >
> >It took me a while to notice this failure because I have the bad habit
> >of looking just at the unexpected failures, glossing over the
> >unsupported results.
> >
> >OK?
> >
> >elena
> >
> >[PS. I assume I used the correct autoconf, but I am nost sure: I used the
> >autoconf-000227 snapshot].
> >
>
> In view of the large diffs in configure, I suspect this is indeed the wrong
> version of autoconf. The rest of the change is approved. If you don't
> easily solve the autoconf issue, you might consider leaving configure
> alone -- it's just an extra test...
>
>
Or the previous configure was generated with the incorrect version of
autoconf. :-) I know for sure that the autoconf-000227.tar is the right
one for the gdb/configure, and, I would estrapolate, it is the right one
for gdb/testsuite/configure as well.
elena
More information about the Gdb-patches
mailing list