Index: gdb/testsuite/gdb.mi/mi2-console.exp |
diff --git a/gdb/testsuite/gdb.mi/mi2-console.exp b/gdb/testsuite/gdb.mi/mi2-console.exp |
index 36c098d50e449c6ff49f2ddbb1f26c7d17a14ad0..e1e180bdfe938261e748be9849d675cac7012aa0 100644 |
--- a/gdb/testsuite/gdb.mi/mi2-console.exp |
+++ b/gdb/testsuite/gdb.mi/mi2-console.exp |
@@ -36,10 +36,9 @@ if [mi_gdb_start] { |
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 mi-console.c |
+ |
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
untested mi2-console.exp |
return -1 |
} |