[Top][All Lists]

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

Re: Setting the path to TCL

From: Michael Chastain
Subject: Re: Setting the path to TCL
Date: Mon, 02 Aug 2004 23:14:44 -0400
User-agent: nail 10.8 6/28/04

Darlene Wong <address@hidden> wrote:
> Is there a way I can specify to runtest which tclsh to use?

Two ways that I know of:

(1) Set $PATH before running runtest.
(2) Set the EXPECT environment variable to the EXPECT binary.

> I have developed an expect test that depends on a set of libraries that
> are built in to a special version of tcl.  My test runs fine if I invoke
> it like this:
> special/path/to/tclsh8.4 foo.exp

This part confuses me.  dejagnu wants to run an 'expect' binary.
The 'expect' binary is linked with TCL libraries and any special
libraries that you want.  Either I am confused about something,
or dejagnu does not directly running a tclsh binary.

Try setting EXPECT to the name of a shell script that echoes stuff
and then runs special/path/to/tclsh8.4 (passing on its arguments)
and see what happens.

Michael C

reply via email to

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