From: Jonathan Wakely Date: Tue, 5 Jun 2018 07:37:30 +0000 (+0100) Subject: Mark some Filesystem tests as XFAIL for mingw X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce6efef870d6be5c4d22c8b9500670a19f4f6ea1;p=gcc.git Mark some Filesystem tests as XFAIL for mingw Symlinks are not supported on mingw. * testsuite/27_io/filesystem/operations/read_symlink.cc: XFAIL for mingw* targets. * testsuite/27_io/filesystem/operations/symlink_status.cc: Likewise. * testsuite/experimental/filesystem/operations/read_symlink.cc: Likewise. From-SVN: r261185 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0fa14c1f0e2..a8411765db9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2018-06-05 Jonathan Wakely + + * testsuite/27_io/filesystem/operations/read_symlink.cc: XFAIL for + mingw* targets. + * testsuite/27_io/filesystem/operations/symlink_status.cc: Likewise. + * testsuite/experimental/filesystem/operations/read_symlink.cc: + Likewise. + 2018-06-05 François Dumont * include/bits/stl_tempbuf.h diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/read_symlink.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/read_symlink.cc index c1ef0a3d806..811617b002d 100644 --- a/libstdc++-v3/testsuite/27_io/filesystem/operations/read_symlink.cc +++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/read_symlink.cc @@ -18,6 +18,7 @@ // { dg-options "-std=gnu++17 -lstdc++fs" } // { dg-do run { target c++17 } } // { dg-require-filesystem-ts "" } +// { dg-xfail-if "symlinks not supported" { *-*-mingw* } } #include #include diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/symlink_status.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/symlink_status.cc index 45697133f64..919f826b957 100644 --- a/libstdc++-v3/testsuite/27_io/filesystem/operations/symlink_status.cc +++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/symlink_status.cc @@ -18,6 +18,7 @@ // { dg-options "-std=gnu++17 -lstdc++fs" } // { dg-do run { target c++17 } } // { dg-require-filesystem-ts "" } +// { dg-xfail-if "symlinks not supported" { *-*-mingw* } } #include #include diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc index 9d30593acb8..544e30cbcaa 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc @@ -18,6 +18,7 @@ // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } +// { dg-xfail-if "symlinks not supported" { *-*-mingw* } } #include #include