diff mbox series

Test Fortran part of libgomp with check-fortran

Message ID 1741017.3tGZZ8sE5E@polaris
State New
Headers show
Series Test Fortran part of libgomp with check-fortran | expand

Commit Message

Eric Botcazou June 18, 2018, 8 a.m. UTC
Hi,

that's already done for C++ so it seems consistent to do it for Fortran too.

Tested on x86-64/Linux, OK for the mainline?


2018-06-18  Eric Botcazou  <ebotcazou@adacore.com>

	* Makefile.def (fortran): Add check-target-libgomp-fortran.
	* Makefile.tpl (check-target-libgomp-fortran): New phony target.
	* Makefile.in: Regenerate.

Comments

Jeff Law June 18, 2018, 3:49 p.m. UTC | #1
On 06/18/2018 02:00 AM, Eric Botcazou wrote:
> Hi,
> 
> that's already done for C++ so it seems consistent to do it for Fortran too.
> 
> Tested on x86-64/Linux, OK for the mainline?
> 
> 
> 2018-06-18  Eric Botcazou  <ebotcazou@adacore.com>
> 
> 	* Makefile.def (fortran): Add check-target-libgomp-fortran.
> 	* Makefile.tpl (check-target-libgomp-fortran): New phony target.
> 	* Makefile.in: Regenerate.
> 
Yes yes, please :-)

jeff
diff mbox series

Patch

Index: Makefile.def
===================================================================
--- Makefile.def	(revision 261687)
+++ Makefile.def	(working copy)
@@ -586,7 +586,8 @@  languages = { language=c++;	gcc-check-ta
 				lib-check-target=check-target-libgomp-c++; };
 languages = { language=fortran;	gcc-check-target=check-fortran;
 				lib-check-target=check-target-libquadmath;
-				lib-check-target=check-target-libgfortran; };
+				lib-check-target=check-target-libgfortran;
+				lib-check-target=check-target-libgomp-fortran; };
 languages = { language=ada;	gcc-check-target=check-ada;
 				lib-check-target=check-target-libada; };
 languages = { language=objc;	gcc-check-target=check-objc;
Index: Makefile.tpl
===================================================================
--- Makefile.tpl	(revision 261687)
+++ Makefile.tpl	(working copy)
@@ -1470,6 +1470,9 @@  ENDIF raw_cxx +]
 check-target-libgomp-c++:
 	$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
 
+.PHONY: check-target-libgomp-fortran
+check-target-libgomp-fortran:
+	$(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) fortran.exp" check-target-libgomp
 @endif target-libgomp
 
 @if target-libitm