]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gfortran.dg/coarray: Require target sleep where calls were recently added, PR125005
authorHans-Peter Nilsson <hp@axis.com>
Thu, 23 Apr 2026 16:22:02 +0000 (18:22 +0200)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Wed, 13 May 2026 02:21:35 +0000 (04:21 +0200)
I added this attribute only to those tests requiring linking and
runtime use, i.e. those failing as per the PR.

PR libfortran/125005
* gfortran.dg/coarray/failed_images_2.f08,
gfortran.dg/coarray/image_status_2.f08,
gfortran.dg/coarray/stopped_images_2.f08: Require sleep effective
target.

gcc/testsuite/gfortran.dg/coarray/failed_images_2.f08
gcc/testsuite/gfortran.dg/coarray/image_status_2.f08
gcc/testsuite/gfortran.dg/coarray/stopped_images_2.f08

index 78d92daf0715d05f738110f3cd45df34450b466f..f0b4f59aca902154213218bc5158ad7541c2a2a7 100644 (file)
@@ -1,4 +1,4 @@
-! { dg-do run }
+! { dg-do run { target sleep } }
 
 program test_failed_images_2
   use iso_fortran_env
index 8866f2374819b293a8603e5fb19d60f06d690b36..748fa4e49360c2989b517561f2f23a1c972da2c2 100644 (file)
@@ -1,4 +1,4 @@
-! { dg-do run }
+! { dg-do run { target sleep } }
 
 program test_image_status_2
   use iso_fortran_env
index dadd00ecda7ab95fdc8f9464b095887bd79d9503..cd9008fdd4e52914eab49cc0f2c5cd00ed1b5ab9 100644 (file)
@@ -1,4 +1,4 @@
-! { dg-do run }
+! { dg-do run { target sleep } }
 
 program test_stopped_images_2
   use iso_fortran_env