Index: gdb/testsuite/gdb.base/label.exp |
diff --git a/gdb/testsuite/gdb.base/label.exp b/gdb/testsuite/gdb.base/label.exp |
index c511cb9454ce2263e414296211f6d9686a291b51..4122609b91d6635a7d3585f4ab05c8ec4d4e0a82 100644 |
--- a/gdb/testsuite/gdb.base/label.exp |
+++ b/gdb/testsuite/gdb.base/label.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2010-2012 Free Software Foundation, Inc. |
+# Copyright 2010-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -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 |
} |