diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/label.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/label.exp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/label.exp b/gdb/testsuite/gdb.base/label.exp index ac9193b..4122609 100644 --- a/gdb/testsuite/gdb.base/label.exp +++ b/gdb/testsuite/gdb.base/label.exp @@ -23,11 +23,9 @@ if [is_remote target] then { # test running programs # -set testfile "label" -set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} +standard_testfile .c -if { [prepare_for_testing ${testfile}.exp $testfile ${testfile}.c debug] } { +if { [prepare_for_testing ${testfile}.exp $testfile ${srcfile} debug] } { untested label.exp return -1 } |