public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/65107] New: FAIL: gfortran.dg/eof_4.f90, runtime error: File 'test.dat' already exists
@ 2015-02-18 13:54 vries at gcc dot gnu.org
  2015-02-18 14:28 ` [Bug testsuite/65107] " dominiq at lps dot ens.fr
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2015-02-18 13:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65107

            Bug ID: 65107
           Summary: FAIL: gfortran.dg/eof_4.f90, runtime error: File
                    'test.dat' already exists
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org

failure in gfortran.sum:
...
FAIL: gfortran.dg/eof_4.f90   -O0  execution test
FAIL: gfortran.dg/eof_4.f90   -O1  execution test
FAIL: gfortran.dg/eof_4.f90   -O2  execution test
FAIL: gfortran.dg/eof_4.f90   -O3 -fomit-frame-pointer  execution test
FAIL: gfortran.dg/eof_4.f90   -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test
FAIL: gfortran.dg/eof_4.f90   -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/eof_4.f90   -O3 -g  execution test
FAIL: gfortran.dg/eof_4.f90   -Os  execution test
...

In more detail:
...
At line 12 of file src/gcc/testsuite/gfortran.dg/eof_4.f90 (unit = 99)
Fortran runtime error: File 'test.dat' already exists
FAIL: gfortran.dg/eof_4.f90   -O0  execution test
...

Probably observed earlier here: PR64770 comment 0.

The nature of the failure is that the test expects test.dat not to exist, but
it does.

The test itself does not clean up after itself, so it's missing:
...
! { dg-final { remote_file build delete "test.dat" } }
...

But cleaning after itself does not guarantee that this failure is fixed. We
need to ensure that all tests that use test.dat clean up after themselves.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-02-20 23:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-18 13:54 [Bug testsuite/65107] New: FAIL: gfortran.dg/eof_4.f90, runtime error: File 'test.dat' already exists vries at gcc dot gnu.org
2015-02-18 14:28 ` [Bug testsuite/65107] " dominiq at lps dot ens.fr
2015-02-18 16:32 ` vries at gcc dot gnu.org
2015-02-18 20:08 ` vries at gcc dot gnu.org
2015-02-21  0:32 ` vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).