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