public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* dejagnu runtest and runtest.exp
@ 1997-10-10  8:51 Philippe De Muyter
  1997-10-10  9:08 ` Ian Lance Taylor
  0 siblings, 1 reply; 16+ messages in thread
From: Philippe De Muyter @ 1997-10-10  8:51 UTC (permalink / raw)
  To: egcs mailing list

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 ?

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: dejagnu runtest and runtest.exp
@ 1997-10-13 18:42 meissner
  1997-10-15 20:16 ` Jeffrey A Law
  0 siblings, 1 reply; 16+ messages in thread
From: meissner @ 1997-10-13 18:42 UTC (permalink / raw)
  To: ian, phdm; +Cc: egcs

| > Philippe De Muyter just posted a patch
| > (< 199710131730.TAA11370@mail.macqel.be >) which should fix that, but I
| > think his patch should be changed to search PATH rather than to rely
| > on the builtin ``type'' command.
| 
| OK, here it is.  With an example it is much easier :)
| Note that I use test -x, not -f as in example Ian provided.  This should
| perhaps be fixed in configure.

If this code is going to run on really old shells, then please change the test
back to -f, as I recall, the older shells on systems such as BSD 4.2 and Ultrix
did not support the full range of test features.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~1997-10-19 19:40 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-10  8:51 dejagnu runtest and runtest.exp Philippe De Muyter
1997-10-10  9:08 ` Ian Lance Taylor
1997-10-11 10:12   ` Manfred Hollstein
1997-10-13 11:05     ` Jeffrey A Law
1997-10-13 13:41       ` Ian Lance Taylor
1997-10-13 15:02         ` Philippe De Muyter
1997-10-15 20:14           ` Jeffrey A Law
1997-10-15 20:16         ` Jeffrey A Law
1997-10-18  0:28           ` Manfred Hollstein
1997-10-18  5:56             ` Philippe De Muyter
1997-10-18 11:38               ` Manfred Hollstein
1997-10-19 18:00                 ` Jeffrey A Law
1997-10-19 19:40                 ` Philippe De Muyter
1997-10-13 15:02   ` Philippe De Muyter
1997-10-13 18:42 meissner
1997-10-15 20:16 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).