]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gfortran.dg/include_15.f90: Add dg-prune-output [PR102500]
authorTobias Burnus <tobias@codesourcery.com>
Tue, 28 Sep 2021 07:49:12 +0000 (09:49 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 28 Sep 2021 07:49:12 +0000 (09:49 +0200)
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.

gcc/testsuite/gfortran.dg/include_15.f90

index 068dcef5826fe3de7928b076d05b9c4c7a2ac042..18d91f6cd324bfb26fcb2ee836073f701f2340dd 100644 (file)
@@ -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" }