Index: gdb/testsuite/gdb.base/tui-layout.exp |
diff --git a/gdb/testsuite/gdb.base/tui-layout.exp b/gdb/testsuite/gdb.base/tui-layout.exp |
index 2db54113c388a1b520ff8860e4b633fbd9af4088..8f97b5469aacc156a8ca7855194e3970bf16e27d 100644 |
--- a/gdb/testsuite/gdb.base/tui-layout.exp |
+++ b/gdb/testsuite/gdb.base/tui-layout.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 |
@@ -13,8 +13,9 @@ |
# You should have received a copy of the GNU General Public License |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
-set testfile tui-layout |
-if { [prepare_for_testing ${testfile}.exp ${testfile} start.c] } { |
+standard_testfile start.c |
+ |
+if { [prepare_for_testing ${testfile}.exp ${testfile} $srcfile] } { |
return -1 |
} |