Commit d9d1a958 by Kaveh R. Ghazi Committed by Kaveh Ghazi

advance.f90, [...]: Delete temp file.

	* gfortran.dg/advance.f90, gfortran.dg/backspace_2.f,
	gfortran.dg/comma.f, gfortran.dg/direct_io_2.f90,
	gfortran.dg/tl_editing.f90, gfortran.dg/unf_io_convert_1.f90,
	gfortran.dg/write_back.f,
	gfortran.fortran-torture/execute/inquire_1.f90,
	gfortran.fortran-torture/execute/inquire_3.f90: Delete temp file.

From-SVN: r112258
parent f7da48ef
2006-03-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gfortran.dg/advance.f90, gfortran.dg/backspace_2.f,
gfortran.dg/comma.f, gfortran.dg/direct_io_2.f90,
gfortran.dg/tl_editing.f90, gfortran.dg/unf_io_convert_1.f90,
gfortran.dg/write_back.f,
gfortran.fortran-torture/execute/inquire_1.f90,
gfortran.fortran-torture/execute/inquire_3.f90: Delete temp file.
2006-03-21 Jeff Law <law@redhat.com> 2006-03-21 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/vrp28.c: New test. * gcc.dg/tree-ssa/vrp28.c: New test.
...@@ -9,4 +9,5 @@ program pr25463 ...@@ -9,4 +9,5 @@ program pr25463
rewind (10) rewind (10)
read (10, '(a)') str read (10, '(a)') str
if (str.ne.'abc') call abort() if (str.ne.'abc') call abort()
close (10, status='delete')
end end
...@@ -17,5 +17,6 @@ ...@@ -17,5 +17,6 @@
1011 continue 1011 continue
backspace 11 backspace 11
backspace 11 backspace 11
close(11, status='delete')
end end
...@@ -14,5 +14,6 @@ ...@@ -14,5 +14,6 @@
rewind(11) rewind(11)
read(11,*)stuff read(11,*)stuff
if (stuff.ne.1.0) call abort() if (stuff.ne.1.0) call abort()
close(11, status='delete')
end end
...@@ -40,5 +40,6 @@ ...@@ -40,5 +40,6 @@
READ(7, REC = IREC) IPROG, IFILE, ITOTR, IRLGN, IRECN, IEOF,IVON21, IVON22, IVON31, IVON32, IVON33, IVON34, IVON55, IVON56 READ(7, REC = IREC) IPROG, IFILE, ITOTR, IRLGN, IRECN, IEOF,IVON21, IVON22, IVON31, IVON32, IVON33, IVON34, IVON55, IVON56
IF (IRECN .NE. IRECCK) CALL ABORT IF (IRECN .NE. IRECCK) CALL ABORT
4135 CONTINUE 4135 CONTINUE
CLOSE(7, STATUS='DELETE')
STOP STOP
END END
...@@ -27,6 +27,7 @@ program tl_editting ...@@ -27,6 +27,7 @@ program tl_editting
rewind(10) rewind(10)
read(10, '(a)') s read(10, '(a)') s
if (s.ne.cline) call abort if (s.ne.cline) call abort
close(10, status='delete')
end program tl_editting end program tl_editting
...@@ -85,11 +85,11 @@ program main ...@@ -85,11 +85,11 @@ program main
else else
call abort call abort
endif endif
! use hexdump to look at the file "fort.9"
if (debug) then
close(9)
else
close(9,status='DELETE')
endif
end if end if
! use hexdump to look at the file "fort.9"
if (debug) then
close(9)
else
close(9,status='DELETE')
endif
end program main end program main
...@@ -20,5 +20,6 @@ ...@@ -20,5 +20,6 @@
read(11, end=250)idata read(11, end=250)idata
call abort() call abort()
250 continue 250 continue
close(11, status="delete")
end end
...@@ -5,4 +5,5 @@ ...@@ -5,4 +5,5 @@
INQUIRE(UNIT=9,ACCESS=ACCESS,BLANK=BLANK) INQUIRE(UNIT=9,ACCESS=ACCESS,BLANK=BLANK)
IF(BLANK.NE.'NULL') CALL ABORT IF(BLANK.NE.'NULL') CALL ABORT
IF(ACCESS.NE.'SEQUENTIAL') CALL ABORT IF(ACCESS.NE.'SEQUENTIAL') CALL ABORT
CLOSE(UNIT=9,STATUS='DELETE')
END END
...@@ -9,5 +9,6 @@ ...@@ -9,5 +9,6 @@
INQUIRE(UNIT=9,NEXTREC=NREC) INQUIRE(UNIT=9,NEXTREC=NREC)
IF (NREC.NE.2) CALL ABORT IF (NREC.NE.2) CALL ABORT
! PRINT*,NREC ! PRINT*,NREC
CLOSE(UNIT=9,STATUS='DELETE')
END END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment