This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question about cleaning modules after a regression test


Dominique Dhumieres wrote:
Does anyone understand why the following code

! { dg-do compile }
MODULE input_cp2k_motion
  IMPLICIT NONE
  interface
    SUBROUTINE keyword_create(variants)
      CHARACTER(len=*), DIMENSION(:), &
      INTENT(in)                   :: variants
    end subroutine
  end interface
CONTAINS
  SUBROUTINE create_neb_section()
    CALL keyword_create(variants=(/"K"/))
  END SUBROUTINE create_neb_section
END MODULE input_cp2k_motion
! { dg-final { cleanup-modules "input_cp2k_motion" } }

does not clean input_cp2k_motion.mod after a regression test?
[...]
PS it is a modification of gfortran.fortran-torture/compile/pr30147.f90

That "PS" is why, if you're running this file in the fortran-torture directory. The files in that directory don't currently get the dejagnu macros run on them, for some reason.


- Brooks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]