dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Identifying the script name


From: AllanGreen
Subject: Identifying the script name
Date: Mon, 8 Aug 2011 06:24:46 -0700 (PDT)

Hi everyone,

I'm attempting to identify the name of an .exp script from within that
script.  My Google search suggested that (in Expect):

"argv[0] is defined to be the name of the script."

(http://www.cs.utah.edu/dept/old/texinfo/dejagnu/dejagnu_7.html)

Clearly dejagnu is different - within my exp script this just returns the
first argument used in my runtest call.

Anyone got any hints please?

Best wishes,

Allan Green
-- 
View this message in context: 
http://old.nabble.com/Identifying-the-script-name-tp32218403p32218403.html
Sent from the Gnu - Dejagnu - General mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]