[PATCH, testsuite]: Committed: Delete executables created by fortran feature tests

Uros Bizjak ubizjak@gmail.com
Tue Mar 27 10:50:00 GMT 2007


Hello!

This patch deletes executables created by fortran feature tests in
libtarget-supports.exp. Patch was tested on i686-pc-linux-gnu by
running gfortran testsuite. Patch is commited to SVN mainline.

2007-03-27  Uros Bizjak  <ubizjak@gmail.com>

	* lib/target-supports.exp (check_effective_target_fortran_large_real):
	Delete created executable test file.
	(check_effective_target_fortran_large_int): Ditto.
	(check_effective_target_static_libgfortran): Ditto.

Uros.

Index: lib/target-supports.exp
===================================================================
--- lib/target-supports.exp     (revision 123254)
+++ lib/target-supports.exp     (working copy)
@@ -649,6 +649,7 @@

        if [string match "" $lines] then {
            # No error message, compilation succeeded.
+           remote_file build delete $exe
            set et_fortran_large_real_saved 1
        }
     }
@@ -705,6 +706,7 @@

        if [string match "" $lines] then {
            # No error message, compilation succeeded.
+           remote_file build delete $exe
            set et_fortran_large_int_saved 1
        }
     }
@@ -759,6 +761,7 @@

        if [string match "" $lines] then {
            # No error message, compilation succeeded.
+          remote_file build delete $exe
            set et_static_libgfortran_saved 1
        }
     }



More information about the Gcc-patches mailing list