This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
dejagnu runtest and runtest.exp
- To: egcs at cygnus dot com (egcs mailing list)
- Subject: dejagnu runtest and runtest.exp
- From: "Philippe De Muyter" <phdm at mail dot macqel dot be>
- Date: Fri, 10 Oct 1997 13:17:24 +0200 (MET DST)
I have recently installed the last dejagnu snapshot (using the patches I
have posted and moving manually data files from /usr/local/share to
/usr/local/share/dejagnu where they ought to be), but running runtest
still fails with :
ERROR: runtest.exp does not exist.
That is not true; runtest.exp exists and is located in /usr/local/share/dejagnu,
but runtest does not find it because it does not look there !!!
I can see runtest trying to find its installation directory by looking
at $0, but as it is invoked as runtest, $0 is merely runtest; that
is not very useful. Why does it not look directly in a hard-coded
directory written in runtest script at instatllation time ?