[patch, fortran] Delete temporary files generated in test suite tests
Tobias Burnus
burnus@net-b.de
Thu Jan 24 21:14:00 GMT 2008
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
More information about the Fortran
mailing list