Index: gdb/testsuite/gdb.mi/mi2-return.exp |
diff --git a/gdb/testsuite/gdb.mi/mi2-return.exp b/gdb/testsuite/gdb.mi/mi2-return.exp |
index e16ae2011658663cdbfdace537ded65a83a43643..8d32e139c1beeedf897d1c08f0996aa750b03cdf 100644 |
--- a/gdb/testsuite/gdb.mi/mi2-return.exp |
+++ b/gdb/testsuite/gdb.mi/mi2-return.exp |
@@ -30,10 +30,9 @@ if [mi_gdb_start] { |
continue |
} |
-set testfile "basics" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/mi2-return |
-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-return.exp |
return -1 |
} |