From: "Dominique d'Humières" <dominiq@lps.ens.fr>
To: Paul Richard Thomas <paul.richard.thomas@gmail.com>
Cc: fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org
Subject: [PATCH, gfortran] Cleanup the submodule tests
Date: Sat, 15 Apr 2017 11:01:00 -0000 [thread overview]
Message-ID: <7C98063C-7F47-4FBA-BE6D-3A77FB85F27F@lps.ens.fr> (raw)
Hi!
Unless someone objects, I am planning to commit the following cleanup
--- ../_clean/gcc/testsuite/gfortran.dg/submodule_17.f08 2016-08-24 21:57:16.000000000 +0200
+++ gcc/testsuite/gfortran.dg/submodule_17.f08 2017-04-15 10:19:32.000000000 +0200
@@ -25,3 +25,4 @@ end submodule
use hello_interface
if (get() .ne. string) call abort
end
+! { dg-final { cleanup-submodules "hello_interface@hello_implementation" } }
--- ../_clean/gcc/testsuite/gfortran.dg/submodule_22.f08 2016-11-27 20:08:35.000000000 +0100
+++ gcc/testsuite/gfortran.dg/submodule_22.f08 2017-04-15 10:21:50.000000000 +0200
@@ -45,3 +45,5 @@ contains
s = 2.0
end subroutine sub3
end
+! { dg-final { cleanup-submodules "mtop@submod" } }
+! { dg-final { cleanup-submodules "mtop@subsubmod" } }
--- ../_clean/gcc/testsuite/gfortran.dg/submodule_23.f90 2017-02-19 19:28:37.000000000 +0100
+++ gcc/testsuite/gfortran.dg/submodule_23.f90 2017-04-15 10:26:53.000000000 +0200
@@ -27,3 +27,4 @@ end submodule
use mod
print *, fun1(10)
end
+! { dg-final { cleanup-submodules "mod@submod" } }
--- ../_clean/gcc/testsuite/gfortran.dg/submodule_24.f08 2017-02-19 22:13:44.000000000 +0100
+++ gcc/testsuite/gfortran.dg/submodule_24.f08 2017-04-15 10:11:15.000000000 +0200
@@ -21,3 +21,4 @@ contains
end procedure
!end subroutine ! gfortran accepted this invalid workaround
end submodule
+! { dg-final { cleanup-submodules "foo_interface@foo_implementation" } }
--- ../_clean/gcc/testsuite/gfortran.dg/submodule_26.f08 2017-03-18 13:14:10.000000000 +0100
+++ gcc/testsuite/gfortran.dg/submodule_26.f08 2017-04-15 10:13:03.000000000 +0200
@@ -44,3 +44,4 @@ contains
module procedure cgca_clvgp
end procedure cgca_clvgp
end submodule m3clvg_sm3
+! { dg-final { cleanup-submodules "cgca_m3clvg@m3clvg_sm3" } }
--- ../_clean/gcc/testsuite/gfortran.dg/submodule_27.f08 2017-03-18 13:14:10.000000000 +0100
+++ gcc/testsuite/gfortran.dg/submodule_27.f08 2017-04-15 10:13:35.000000000 +0200
@@ -42,3 +42,4 @@ end submodule m3clvg_sm3
call cgca_clvgp (hello)
if (trim (greeting) .ne. "hello") call abort
end
+! { dg-final { cleanup-submodules "cgca_m3clvg@m3clvg_sm3" } }
--- ../_clean/gcc/testsuite/gfortran.dg/submodule_28.f08 2017-03-18 13:48:04.000000000 +0100
+++ gcc/testsuite/gfortran.dg/submodule_28.f08 2017-04-15 10:14:32.000000000 +0200
@@ -50,3 +50,4 @@ program hello
call routine1(2)
if (answer .ne. 4) call abort
end program
+! { dg-final { cleanup-submodules "my_mod@my_submod" } }
Dominique
next reply other threads:[~2017-04-15 8:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-15 11:01 Dominique d'Humières [this message]
2017-04-15 13:57 ` Janus Weil
2017-04-15 14:46 ` Dominique d'Humières
2017-04-15 15:17 ` Janus Weil
2017-04-15 16:50 ` Dominique d'Humières
2017-04-15 18:18 ` Janus Weil
2017-04-16 8:37 ` Dominique d'Humières
2017-04-17 9:08 ` Janus Weil
2017-04-17 15:57 ` Segher Boessenkool
[not found] ` <256853B4-70F5-43BD-A256-42942B1B4AA7@lps.ens.fr>
2017-06-04 12:54 ` Fwd: " Dominique d'Humières
2017-06-04 18:26 ` Segher Boessenkool
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=7C98063C-7F47-4FBA-BE6D-3A77FB85F27F@lps.ens.fr \
--to=dominiq@lps.ens.fr \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=paul.richard.thomas@gmail.com \
/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: link
Be 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).