This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, fortran] Delete temporary files generated in test suite tests
- From: Tobias Burnus <burnus at net-b dot de>
- To: "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 24 Jan 2008 18:00:55 +0100
- Subject: [patch, fortran] Delete temporary files generated in test suite tests
Remove the fort.99 and the gfcbug77.nml file after the running tests.
Committed as Rev. 131795.
Tobias
Index: ChangeLog
===================================================================
--- ChangeLog (Revision 131794)
+++ ChangeLog (Arbeitskopie)
@@ -1,3 +1,8 @@
+2008-01-24 Tobias Burnus <burnus@net-b.de>
+
+ * gfortran.dg/namelist_39.f90: Delete temporary files.
+ * gfortran.dg/namelist_44.f90: Ditto.
+
2008-01-24 Richard Guenther <rguenther@suse.de>
PR middle-end/34953
Index: gfortran.dg/namelist_44.f90
===================================================================
--- gfortran.dg/namelist_44.f90 (Revision 131794)
+++ gfortran.dg/namelist_44.f90 (Arbeitskopie)
@@ -23,7 +23,7 @@
write(nnml,*) "/"
rewind(nnml)
read (nnml, nml=BLACKLIST)
- close(nnml)
+ close(nnml,status="delete")
if(file /= "myfile" .or. default) call abort()
! write (*,nml=BLACKLIST)
end program gfcbug77
Index: gfortran.dg/namelist_39.f90
===================================================================
--- gfortran.dg/namelist_39.f90 (Revision 131794)
+++ gfortran.dg/namelist_39.f90 (Arbeitskopie)
@@ -17,7 +17,7 @@
" /"
rewind(99)
read(99,nml=nam)
-close(99)
+close(99,status="delete")
if (b01234567890123456789012345678901234567890123456789012345678901(1).ne.&
" AAP NOOT MIES WIM ZUS JET ") call abort