diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-06-05 08:37:30 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-06-05 08:37:30 +0100 |
commit | ce6efef870d6be5c4d22c8b9500670a19f4f6ea1 (patch) | |
tree | cef5f4dfeaa44d665cb958d1b828f33a6eb86228 | |
parent | 51e00a122fe2784021c012e14851f28f34f06135 (diff) | |
download | gcc-ce6efef870d6be5c4d22c8b9500670a19f4f6ea1.zip gcc-ce6efef870d6be5c4d22c8b9500670a19f4f6ea1.tar.gz gcc-ce6efef870d6be5c4d22c8b9500670a19f4f6ea1.tar.bz2 |
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
4 files changed, 11 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0fa14c1..a841176 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2018-06-05 Jonathan Wakely <jwakely@redhat.com> + + * 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 <fdumont@gcc.gnu.org> * 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 c1ef0a3..811617b0 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 <filesystem> #include <testsuite_hooks.h> 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 4569713..919f826 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 <filesystem> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc index 9d30593..544e30c 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 <experimental/filesystem> #include <testsuite_hooks.h> |