This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: How do I run binutils' testsuite with the system installed binaries of binutils/as/ld?


Christian Jönsson writes:
 > On Mon, Nov 04, 2002 at 10:05:53AM -0800, Doug Evans wrote:
 > > Christian Jönsson writes:
 > >  > Just as a little test... how do I runt binutils' testsuite with system
 > >  > installed binaries, such as /usr/bin/as and /usr/bin/ld?
 > >  > 
 > >  > And how about all binutils' binaries such as readelf, objdump?
 > > 
 > > The only way that occurs to me is to hack in a solution
 > > with symlinks.  Configure the tree, then install symlinks
 > > to the installed versions for each of the binaries.
 > 
 > hmm, I was hoping for something like gcc's test_installed script:
 > 
 > http://gcc.gnu.org/cgi-bin/cvsweb.cgi/~checkout~/gcc/contrib/test_installed?rev=1.4&content-type=text/plain

Actually, it occured to me just after sending the message that after
configuring the tree a `make test' should "just work".
At least I _think_ it should.  Whether it's a bug or not if it doesn't I dunno.

All the main programs that dejagnu runs (gcc,gas,etc.) are found
by a set of search algorithms that ultimately punt and hope the binary
is in $PATH.  Whether all programs are found this way (e.g. readelf)
I dunno.  I think _that_ is arguably a bug if not.

Ergo, methinks it should "just work".  YMMV. :-)


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