[Top][All Lists]

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

Re: tests failing sometimes

From: Daniel Jacobowitz
Subject: Re: tests failing sometimes
Date: Sun, 15 Aug 2004 21:26:29 -0400
User-agent: Mutt/

On Sat, Aug 14, 2004 at 03:58:52PM +0200, Baurjan Ismagulov wrote:
> How would you explain the presence of the prompt on the line with FAIL
> and the absence of the list command before it? I suppose dejagnu doesn't
> send newlines between the commands?
> This output was generated with the following test:
> system "echo \"main(){}\" >a.c"
> gdb_compile a.c a executable {debug additional_flags=-w}
> gdb_start
> gdb_test "file a\n" ""
> gdb_test "l main\n" {1.main\(\){}.*} "a"

gdb_test does not come from DejaGNU, FYI - it comes from lib/gdb.exp in
GDB.  If you take a look at it, it adds the \n for you.  Try removing

Daniel Jacobowitz

reply via email to

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