Index: gdb/testsuite/gdb.base/watch-cond.exp |
diff --git a/gdb/testsuite/gdb.base/watch-cond.exp b/gdb/testsuite/gdb.base/watch-cond.exp |
index d405d234dea8fdc51dce17627068ea11a65d1351..2f2a05b58d604df7a2a22290ebc9eae5fb0ef48a 100644 |
--- a/gdb/testsuite/gdb.base/watch-cond.exp |
+++ b/gdb/testsuite/gdb.base/watch-cond.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 |
@@ -17,9 +17,7 @@ |
# Tests involving watchpoint conditions with local expressions. |
# |
-set testfile "watch-cond" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile .c |
if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { |
untested ${testfile}.exp |