This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
       }
    }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]