From 7c5fe8687628c21f2353c231cf55da0ca68cb2f4 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 16 Feb 2010 20:23:43 +0000 Subject: gdb/testsuite/ * gdb.cp/cpcompletion.exp: Specify source file name explicitly. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.cp/cpcompletion.exp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ff1b009..3f10965 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2010-02-16 Daniel Jacobowitz + * gdb.cp/cpcompletion.exp: Specify source file name explicitly. + +2010-02-16 Daniel Jacobowitz + * gdb.base/comp-dir/subdir/dummy.txt: New file. * gdb.base/completion.exp: Use comp-dir/subdir instead of creating a temporary directory. diff --git a/gdb/testsuite/gdb.cp/cpcompletion.exp b/gdb/testsuite/gdb.cp/cpcompletion.exp index 69c2c6f..1afcc3e 100644 --- a/gdb/testsuite/gdb.cp/cpcompletion.exp +++ b/gdb/testsuite/gdb.cp/cpcompletion.exp @@ -76,8 +76,9 @@ gdb_load ${binfile} set bp_location [gdb_get_line_number "Set breakpoint here" ${testfile}.cc] -if {![runto $bp_location]} { +if {![runto "${testfile}.cc:$bp_location"]} { perror "test suppressed" + return } # This also tests inheritance -- completion should only see a single -- cgit v1.1