[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tests failing sometimes
From: |
Michael Chastain |
Subject: |
Re: tests failing sometimes |
Date: |
Fri, 13 Aug 2004 14:28:10 -0400 |
User-agent: |
nail 10.8 6/28/04 |
Baurjan Ismagulov <address@hidden> wrote:
> system "echo \"main(){}\" >a.c"
> gdb_compile a.c a executable {debug additional_flags=-w}
> gdb_start
> send_gdb "file a\n"
> gdb_test "l main" {1.main\(\){}.*} "a"
Like Daniel said, you're de-synchronizing on the prompt that gdb
prints after "file a". send_gdb needs to pair with gdb_expect.
Try
gdb_test "file a" ""
gdb_test "l main" {1.main\(\){}.*} "a"
Michael C
- tests failing sometimes, Baurjan Ismagulov, 2004/08/13
- Re: tests failing sometimes, Daniel Jacobowitz, 2004/08/13
- Re: tests failing sometimes,
Michael Chastain <=
- Re: tests failing sometimes, Baurjan Ismagulov, 2004/08/13
- Re: tests failing sometimes, Michael Chastain, 2004/08/13
- Re: tests failing sometimes, Michael Chastain, 2004/08/14
- Re: tests failing sometimes, Baurjan Ismagulov, 2004/08/14
- Re: tests failing sometimes, Daniel Jacobowitz, 2004/08/15
- Re: tests failing sometimes, Baurjan Ismagulov, 2004/08/16