Commit ce6efef8 by Jonathan Wakely Committed by Jonathan Wakely

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
parent 51e00a12
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> 2018-06-05 François Dumont <fdumont@gcc.gnu.org>
* include/bits/stl_tempbuf.h * include/bits/stl_tempbuf.h
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
// { dg-options "-std=gnu++17 -lstdc++fs" } // { dg-options "-std=gnu++17 -lstdc++fs" }
// { dg-do run { target c++17 } } // { dg-do run { target c++17 } }
// { dg-require-filesystem-ts "" } // { dg-require-filesystem-ts "" }
// { dg-xfail-if "symlinks not supported" { *-*-mingw* } }
#include <filesystem> #include <filesystem>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
// { dg-options "-std=gnu++17 -lstdc++fs" } // { dg-options "-std=gnu++17 -lstdc++fs" }
// { dg-do run { target c++17 } } // { dg-do run { target c++17 } }
// { dg-require-filesystem-ts "" } // { dg-require-filesystem-ts "" }
// { dg-xfail-if "symlinks not supported" { *-*-mingw* } }
#include <filesystem> #include <filesystem>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
// { dg-do run { target c++11 } } // { dg-do run { target c++11 } }
// { dg-require-filesystem-ts "" } // { dg-require-filesystem-ts "" }
// { dg-xfail-if "symlinks not supported" { *-*-mingw* } }
#include <experimental/filesystem> #include <experimental/filesystem>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment