From: Tobias Burnus Date: Tue, 28 Sep 2021 07:49:12 +0000 (+0200) Subject: gfortran.dg/include_15.f90: Add dg-prune-output [PR102500] X-Git-Tag: basepoints/gcc-13~4401 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce450af5087b95001b003184b8ecc2c9bbf65378;p=thirdparty%2Fgcc.git gfortran.dg/include_15.f90: Add dg-prune-output [PR102500] gcc/testsuite/ PR fortran/102500 * gfortran.dg/include_15.f90: Add 'dg-prune-output' to prune -Wmissing-include-dirs output printed or not depending on how the testsuite is run. --- diff --git a/gcc/testsuite/gfortran.dg/include_15.f90 b/gcc/testsuite/gfortran.dg/include_15.f90 index 068dcef5826f..18d91f6cd324 100644 --- a/gcc/testsuite/gfortran.dg/include_15.f90 +++ b/gcc/testsuite/gfortran.dg/include_15.f90 @@ -4,3 +4,6 @@ end ! { dg-warning " /fdaf/: No such file or directory" "" { target *-*-* } 0 } ! { dg-warning " bar: No such file or directory" "" { target *-*-* } 0 } ! { dg-warning " foo/bar: No such file or directory" "" { target *-*-* } 0 } + +! Depending how the testsuite is run, it may or may not print the following warning: +! { dg-prune-output "Warning: finclude: No such file or directory" }