]> 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 10:04:55 +0000 (12:04 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 28 Sep 2021 10:04:55 +0000 (12:04 +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.

(cherry picked from commit ce450af5087b95001b003184b8ecc2c9bbf65378)

gcc/testsuite/ChangeLog.omp
gcc/testsuite/gfortran.dg/include_15.f90

index fa93577b0ed396e8d6889e2df45717fc677de984..64904d1cb1642c71d2d26ef9aad68c0bbea55f55 100644 (file)
@@ -1,3 +1,13 @@
+2021-09-28  Tobias Burnus  <tobias@codesourcery.com>
+
+       Backported from master:
+       2021-09-28  Tobias Burnus  <tobias@codesourcery.com>
+
+       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.
+
 2021-09-28  Tobias Burnus  <tobias@codesourcery.com>
 
        Backported from master:
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" }