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.
-! { dg-do run }
+! { dg-do run { target sleep } }
program test_failed_images_2
use iso_fortran_env
-! { dg-do run }
+! { dg-do run { target sleep } }
program test_image_status_2
use iso_fortran_env
-! { dg-do run }
+! { dg-do run { target sleep } }
program test_stopped_images_2
use iso_fortran_env