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