Index: gdb/testsuite/gdb.mi/mi2-cli.exp |
diff --git a/gdb/testsuite/gdb.mi/mi2-cli.exp b/gdb/testsuite/gdb.mi/mi2-cli.exp |
index 6e15da6295229b58d0cda2a76af735518be29025..e84b1910e7227b1167c901f153d0e14f6c4ba4ce 100644 |
--- a/gdb/testsuite/gdb.mi/mi2-cli.exp |
+++ b/gdb/testsuite/gdb.mi/mi2-cli.exp |
@@ -27,10 +27,9 @@ if [mi_gdb_start] { |
continue |
} |
-set testfile "basics" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/mi2-cli |
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DFAKEARGV}] != "" } { |
+standard_testfile basics.c |
+ |
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
untested mi2-cli.exp |
return -1 |
} |