Index: gdb/testsuite/gdb.mi/mi-console.exp |
diff --git a/gdb/testsuite/gdb.mi/mi-console.exp b/gdb/testsuite/gdb.mi/mi-console.exp |
index 10f8c719c23d263661a1cf49550c1706af34e29d..891c7437e3d2e0deeea057c1362fea2c685994c4 100644 |
--- a/gdb/testsuite/gdb.mi/mi-console.exp |
+++ b/gdb/testsuite/gdb.mi/mi-console.exp |
@@ -36,10 +36,9 @@ if [mi_gdb_start separate-inferior-tty] { |
continue |
} |
-set testfile "mi-console" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DFAKEARGV}] != "" } { |
+standard_testfile |
+ |
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
untested mi-console.exp |
return -1 |
} |