public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jerry DeLisle <jvdelisle@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-6112] Fortran test: Modify test cases to pass on mingw. Date: Fri, 17 Feb 2023 03:38:46 +0000 (GMT) [thread overview] Message-ID: <20230217033846.3051B3858D33@sourceware.org> (raw) https://gcc.gnu.org/g:f978585c2939691176ad8d3fa9c2e4e91ed18bf4 commit r13-6112-gf978585c2939691176ad8d3fa9c2e4e91ed18bf4 Author: Jerry DeLisle <jvdelisle@gcc.gnu.org> Date: Thu Feb 16 19:29:44 2023 -0800 Fortran test: Modify test cases to pass on mingw. gcc/testsuite/ChangeLog: * gfortran.dg/ISO_Fortran_binding_14.f90: Change example function to CLOCK which is available on mingw as well as other platforms. * gfortran.dg/pr96486.f90: Change variable to PATH likewise. Diff: --- gcc/testsuite/gfortran.dg/ISO_Fortran_binding_14.f90 | 2 +- gcc/testsuite/gfortran.dg/pr96486.f90 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_14.f90 b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_14.f90 index 388c5438252..1a6e2b18d7c 100644 --- a/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_14.f90 +++ b/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_14.f90 @@ -8,7 +8,7 @@ ! MODULE FOO INTERFACE -SUBROUTINE dummy(buf) BIND(C, name="sync") +SUBROUTINE dummy(buf) BIND(C, name="clock") type(*), dimension(..) :: buf END SUBROUTINE END INTERFACE diff --git a/gcc/testsuite/gfortran.dg/pr96486.f90 b/gcc/testsuite/gfortran.dg/pr96486.f90 index fdc7025d61c..dbf740663b2 100644 --- a/gcc/testsuite/gfortran.dg/pr96486.f90 +++ b/gcc/testsuite/gfortran.dg/pr96486.f90 @@ -4,6 +4,6 @@ program test implicit none character(0) :: value integer :: l, stat - call get_environment_variable("HOME",value,length=l,status=stat) + call get_environment_variable("PATH",value,length=l,status=stat) if (stat.ne.-1) stop 1 end program test
reply other threads:[~2023-02-17 3:38 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230217033846.3051B3858D33@sourceware.org \ --to=jvdelisle@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).