aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/cursal.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/cursal.exp')
-rw-r--r--gdb/testsuite/gdb.base/cursal.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/cursal.exp b/gdb/testsuite/gdb.base/cursal.exp
index a5840cb..fb58dd4 100644
--- a/gdb/testsuite/gdb.base/cursal.exp
+++ b/gdb/testsuite/gdb.base/cursal.exp
@@ -14,9 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-set testfile "cursal"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile
if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != ""} {
untested "Couldn't compile $srcfile"