Index: gdb/testsuite/gdb.mi/mi2-basics.exp |
diff --git a/gdb/testsuite/gdb.mi/mi2-basics.exp b/gdb/testsuite/gdb.mi/mi2-basics.exp |
index 74fe3f6f66db25af2b3e3606c9a533553ad4940c..3a54f99ea98aef6572e2bf2aca4fdac00cecfed8 100644 |
--- a/gdb/testsuite/gdb.mi/mi2-basics.exp |
+++ b/gdb/testsuite/gdb.mi/mi2-basics.exp |
@@ -33,13 +33,12 @@ if [mi_gdb_start] { |
continue |
} |
-set testfile "basics" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/mi2-basics |
+standard_testfile basics.c |
+ |
set escapedobjdir [string_to_regexp ${objdir}] |
set envirodir [string_to_regexp ${objdir}/${subdir}] |
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DFAKEARGV}] != "" } { |
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
untested mi2-basics.exp |
return -1 |
} |