Hi!

On Mon, 16 Oct 2017 10:49:45 +0200, Tom de Vries <tom_devr...@mentor.com> wrote:
> this patch enables some openacc test-cases for non-nvidia devices.
> 
> Committed.

Thanks!

> --- a/libgomp/testsuite/libgomp.oacc-fortran/declare-1.f90
> +++ b/libgomp/testsuite/libgomp.oacc-fortran/declare-1.f90
> @@ -1,4 +1,4 @@
> -! { dg-do run  { target openacc_nvidia_accel_selected } }
> +! { dg-skip-if "" { *-*-* } { "-DACC_MEM_SHARED=1" } }

> [...]

To restore the torture testing that we like to do for Fortran test cases,
I committed the following in trunk r253808, as obvious:

commit 7bc57773107f6db13fd807dd2213298e330c9097
Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Tue Oct 17 11:17:00 2017 +0000

    Restore "dg-do run" directives for libgomp.oacc-fortran/declare-*.f90
    
            libgomp/
            * testsuite/libgomp.oacc-fortran/declare-1.f90: Restore "dg-do
            run" directive.
            * testsuite/libgomp.oacc-fortran/declare-2.f90: Likewise.
            * testsuite/libgomp.oacc-fortran/declare-3.f90: Likewise.
            * testsuite/libgomp.oacc-fortran/declare-4.f90: Likewise.
            * testsuite/libgomp.oacc-fortran/declare-5.f90: Likewise.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253808 
138bc75d-0d04-0410-961f-82ee72b054a4
---
 libgomp/ChangeLog                                    | 9 +++++++++
 libgomp/testsuite/libgomp.oacc-fortran/declare-1.f90 | 1 +
 libgomp/testsuite/libgomp.oacc-fortran/declare-2.f90 | 2 ++
 libgomp/testsuite/libgomp.oacc-fortran/declare-3.f90 | 1 +
 libgomp/testsuite/libgomp.oacc-fortran/declare-4.f90 | 2 ++
 libgomp/testsuite/libgomp.oacc-fortran/declare-5.f90 | 2 ++
 6 files changed, 17 insertions(+)

diff --git libgomp/ChangeLog libgomp/ChangeLog
index a5af03b..35a2374 100644
--- libgomp/ChangeLog
+++ libgomp/ChangeLog
@@ -1,3 +1,12 @@
+2017-10-17  Thomas Schwinge  <tho...@codesourcery.com>
+
+       * testsuite/libgomp.oacc-fortran/declare-1.f90: Restore "dg-do
+       run" directive.
+       * testsuite/libgomp.oacc-fortran/declare-2.f90: Likewise.
+       * testsuite/libgomp.oacc-fortran/declare-3.f90: Likewise.
+       * testsuite/libgomp.oacc-fortran/declare-4.f90: Likewise.
+       * testsuite/libgomp.oacc-fortran/declare-5.f90: Likewise.
+
 2017-10-16  Tom de Vries  <t...@codesourcery.com>
 
        * testsuite/libgomp.oacc-c-c++-common/declare-1.c: Don't require
diff --git libgomp/testsuite/libgomp.oacc-fortran/declare-1.f90 
libgomp/testsuite/libgomp.oacc-fortran/declare-1.f90
index ca8831e..b502df4 100644
--- libgomp/testsuite/libgomp.oacc-fortran/declare-1.f90
+++ libgomp/testsuite/libgomp.oacc-fortran/declare-1.f90
@@ -1,3 +1,4 @@
+! { dg-do run }
 ! { dg-skip-if "" { *-*-* } { "-DACC_MEM_SHARED=1" } }
 
 ! Tests to exercise the declare directive along with
diff --git libgomp/testsuite/libgomp.oacc-fortran/declare-2.f90 
libgomp/testsuite/libgomp.oacc-fortran/declare-2.f90
index aeea10a..0e759dd 100644
--- libgomp/testsuite/libgomp.oacc-fortran/declare-2.f90
+++ libgomp/testsuite/libgomp.oacc-fortran/declare-2.f90
@@ -1,3 +1,5 @@
+! { dg-do run }
+
 module globalvars
   implicit none
   integer a
diff --git libgomp/testsuite/libgomp.oacc-fortran/declare-3.f90 
libgomp/testsuite/libgomp.oacc-fortran/declare-3.f90
index 88b9aff..16164cd 100644
--- libgomp/testsuite/libgomp.oacc-fortran/declare-3.f90
+++ libgomp/testsuite/libgomp.oacc-fortran/declare-3.f90
@@ -1,3 +1,4 @@
+! { dg-do run }
 ! { dg-skip-if "" { *-*-* } { "-DACC_MEM_SHARED=1" } }
 
 module globalvars
diff --git libgomp/testsuite/libgomp.oacc-fortran/declare-4.f90 
libgomp/testsuite/libgomp.oacc-fortran/declare-4.f90
index 252c4ff..6c4e7c5 100644
--- libgomp/testsuite/libgomp.oacc-fortran/declare-4.f90
+++ libgomp/testsuite/libgomp.oacc-fortran/declare-4.f90
@@ -1,3 +1,5 @@
+! { dg-do run }
+
 module vars
   implicit none
   real b
diff --git libgomp/testsuite/libgomp.oacc-fortran/declare-5.f90 
libgomp/testsuite/libgomp.oacc-fortran/declare-5.f90
index e91f26b..4f5c8f0 100644
--- libgomp/testsuite/libgomp.oacc-fortran/declare-5.f90
+++ libgomp/testsuite/libgomp.oacc-fortran/declare-5.f90
@@ -1,3 +1,5 @@
+! { dg-do run }
+
 module vars
   implicit none
   real b


Grüße
 Thomas

Reply via email to