summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.mi/gdb701.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.mi/gdb701.exp')
-rw-r--r--gdb/testsuite/gdb.mi/gdb701.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.mi/gdb701.exp b/gdb/testsuite/gdb.mi/gdb701.exp
index cda54a80db7..8de7adcd9ea 100644
--- a/gdb/testsuite/gdb.mi/gdb701.exp
+++ b/gdb/testsuite/gdb.mi/gdb701.exp
@@ -25,9 +25,8 @@ if [mi_gdb_start] {
continue
}
-set testfile gdb701
-set srcfile "$testfile.c"
-set binfile $objdir/$subdir/$testfile
+standard_testfile
+
if {[gdb_compile $srcdir/$subdir/$srcfile $binfile executable debug] != ""} {
untested gdb701.exp
return -1