* gdb.python/py-mi.exp (binfile): Rename to py-mi.
+2010-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
+       * gdb.python/py-mi.exp (binfile): Rename to py-mi.
+
 2010-03-19  Stan Shebs  <stan@codesourcery.com>
 
        * gdb.trace/ax.exp: New file.
 
 srcdir = @srcdir@
 
 EXECUTABLES = py-type py-value py-prettyprint py-template py-block \
-       py-symbol
+       py-symbol py-mi
 
 all info install-info dvi install uninstall installcheck check:
        @echo "Nothing to be done for $@..."
 
 
 set testfile "py-prettyprint"
 set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+set binfile ${objdir}/${subdir}/py-mi
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DMI}] != "" } {
     untested mi2-var-child.exp
     return -1