diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-01-04 20:53:50 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-01-04 20:53:50 +0000 |
commit | 1b572db9ac86f8af568f13e3fa84cc3eecdb609c (patch) | |
tree | a0b885725d8d7c454b6325c5f1eb8f51ba90eee0 /gdb/testsuite/gdb.base/annota3.exp | |
parent | e8d2d628246417f4b25e4fcf1961c9930fca276e (diff) | |
download | gdb-1b572db9ac86f8af568f13e3fa84cc3eecdb609c.zip gdb-1b572db9ac86f8af568f13e3fa84cc3eecdb609c.tar.gz gdb-1b572db9ac86f8af568f13e3fa84cc3eecdb609c.tar.bz2 |
* gdb.base/annota3.exp ($binfile): Append $EXEEXT.
Expect ".exe" extension.
Diffstat (limited to 'gdb/testsuite/gdb.base/annota3.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/annota3.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/annota3.exp b/gdb/testsuite/gdb.base/annota3.exp index 0410fbf..e5be29c 100644 --- a/gdb/testsuite/gdb.base/annota3.exp +++ b/gdb/testsuite/gdb.base/annota3.exp @@ -39,7 +39,7 @@ set bug_id 0 set testfile "annota3" set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} +set binfile ${objdir}/${subdir}/${testfile}$EXEEXT if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } { untested annota3.exp @@ -118,7 +118,7 @@ gdb_expect_list "breakpoint info" "$gdb_prompt$" { send_gdb "run\n" gdb_expect_list "run until main breakpoint" "$gdb_prompt$" { "\r\n\032\032post-prompt\r\n" - "Starting program: .*annota3 \r\n" + "Starting program: .*annota3(|\.exe) \r\n" "\r\n\032\032starting\r\n" "\r\n\032\032breakpoint 1\r\n" "\r\n" |