dejagnu runtest and runtest.exp

Philippe De Muyter phdm@mail.macqel.be
Fri Oct 10 08:51:00 GMT 1997


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 ?



More information about the Gcc mailing list