This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed][PR65107] Add missing cleanup in gfortran.dg/read_eof_8.f90
- From: Tom de Vries <Tom_deVries at mentor dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, gcc fortran ml <fortran at gcc dot gnu dot org>
- Date: Wed, 18 Feb 2015 21:17:34 +0100
- Subject: [committed][PR65107] Add missing cleanup in gfortran.dg/read_eof_8.f90
- Authentication-results: sourceware.org; auth=none
Hi,
I ran into a failure of gfortran.dg/eof_4.f90, due to the presence of test.dat.
The contents of test.dat pointed to read_eof_8.f90, which indeed does not
cleanup the test.dat it uses. This patch fixes that.
Tested by running the test and checking that test.dat was not present anymore in
the test directories.
Committed as trivial.
Thanks,
- Tom
2015-02-18 Tom de Vries <tom@codesourcery.com>
PR testsuite/65107
* gfortran.dg/read_eof_8.f90: Add missing close.
gcc/testsuite/gfortran.dg/read_eof_8.f90 | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gfortran.dg/read_eof_8.f90 b/gcc/testsuite/gfortran.dg/read_eof_8.f90
index 7436a2b..86228da 100644
--- a/gcc/testsuite/gfortran.dg/read_eof_8.f90
+++ b/gcc/testsuite/gfortran.dg/read_eof_8.f90
@@ -20,6 +20,7 @@ program test
enddo
call abort
100 if (k /= 5) call abort
+ close(25, status="delete")
stop
101 call abort
end program test
--
1.9.1