Index: gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp b/gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp |
index 7df47bdee808dae0d7a6e55876743d5bad7c3c42..9b2a8054bfa99cfaffc7fe1589596851a5c2ddce 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-minsym-in-cu.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2004-2005, 2007-2012 Free Software Foundation, Inc. |
+# Copyright 2004-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 |
@@ -21,11 +21,9 @@ if {![dwarf2_support]} { |
# This testfile has reproducibility only with cc-with-index.sh. |
-set testfile "dw2-minsym-in-cu" |
-set srcfile ${testfile}.S |
-set executable ${testfile} |
+standard_testfile .S |
-if [prepare_for_testing ${testfile}.exp ${executable} ${srcfile}] { |
+if [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] { |
return -1 |
} |