Index: gdb/testsuite/gdb.base/siginfo-infcall.exp |
diff --git a/gdb/testsuite/gdb.base/siginfo-infcall.exp b/gdb/testsuite/gdb.base/siginfo-infcall.exp |
index d84cd264e4f624a16a23451bc5e2f6ca26868152..ed034be4549c48f15ef5fe27b264ab40a6d349b4 100644 |
--- a/gdb/testsuite/gdb.base/siginfo-infcall.exp |
+++ b/gdb/testsuite/gdb.base/siginfo-infcall.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 |
@@ -18,10 +18,9 @@ if [target_info exists gdb,nosignals] { |
continue |
} |
-set testfile siginfo-infcall |
-set srcfile ${testfile}.c |
-set executable ${testfile} |
-if { [prepare_for_testing ${testfile}.exp $executable] } { |
+standard_testfile .c |
+ |
+if { [prepare_for_testing ${testfile}.exp $testfile $srcfile] } { |
return -1 |
} |