[Top][All Lists]

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

Re: Learning DejaGnu

From: Daniel Jacobowitz
Subject: Re: Learning DejaGnu
Date: Fri, 27 Feb 2004 10:10:41 -0500
User-agent: Mutt/1.5.1i

On Fri, Feb 27, 2004 at 01:34:04AM -0500, Braden McDaniel wrote:
> I have gotten as far as getting DejaGnu to run the .exp file with my
> test in it. But the test doesn't appear to register. In
> parse/testsuite/parse.proto/parse.exp, I have (copied from the manual):
>         set test "Local Hello World"
>         send "echo Hello World"
>         expect {
>            -re "Hello World"  { pass "$test" }
>         }

If this doesn't match, no test will have happened; you probably want a
default case that uses fail.

You may want to try --strace.

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

reply via email to

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