diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2021-09-28 09:49:12 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2021-09-28 09:49:12 +0200 |
commit | ce450af5087b95001b003184b8ecc2c9bbf65378 (patch) | |
tree | 4bf0689223567a7a5040f7bda2e497191714d549 /gcc | |
parent | 6fabd9e25d1438b506c0c3979330cfd3034af317 (diff) | |
download | gcc-ce450af5087b95001b003184b8ecc2c9bbf65378.zip gcc-ce450af5087b95001b003184b8ecc2c9bbf65378.tar.gz gcc-ce450af5087b95001b003184b8ecc2c9bbf65378.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gfortran.dg/include_15.f90 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/include_15.f90 b/gcc/testsuite/gfortran.dg/include_15.f90 index 068dcef..18d91f6 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" } |