Fix libstdc++ filesystem tests

Some recently added libstdc++ filesystem tests are missing a
dg-require-filesystem-ts.

Committed as obvious.

    libstdc++/testsuite/
	* 27_io/filesystem/operations/all.cc: Add dg-require-filesystem-ts.
	* 27_io/filesystem/operations/resize_file.cc: Likewise.
	* 27_io/filesystem/path/generation/normal2.cc: Likewise.

From-SVN: r268989
This commit is contained in:
Wilco Dijkstra 2019-02-18 14:09:17 +00:00 committed by Wilco Dijkstra
parent e99589e204
commit eb8c4926c5
4 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2019-02-18 Wilco Dijkstra <wdijkstr@arm.com>
* 27_io/filesystem/operations/all.cc: Add dg-require-filesystem-ts.
* 27_io/filesystem/operations/resize_file.cc: Likewise.
* 27_io/filesystem/path/generation/normal2.cc: Likewise.
2019-02-14 Jonathan Wakely <jwakely@redhat.com>
* doc/xml/manual/status_cxx2020.xml: Update P0887R1 status.

View File

@ -1,5 +1,6 @@
// { dg-options "-std=gnu++17" }
// { dg-do run { target c++17 } }
// { dg-options "-std=gnu++17 -fno-inline" }
// { dg-do link { target c++17 } }
// { dg-require-filesystem-ts "" }
// Copyright (C) 2019 Free Software Foundation, Inc.
//
@ -18,9 +19,6 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++17 -fno-inline" }
// { dg-do link { target c++17 } }
// C++17 30.10.15 Filesystem operation functions [fs.op.funcs]
#include <filesystem>

View File

@ -17,6 +17,7 @@
// { dg-options "-std=gnu++17" }
// { dg-do run { target c++17 } }
// { dg-require-filesystem-ts "" }
// C++17 30.10.15.33 Resize file [fs.op.resize_file]

View File

@ -17,6 +17,7 @@
// { dg-options "-std=gnu++17" }
// { dg-do run { target c++17 } }
// { dg-require-filesystem-ts "" }
#undef _GLIBCXX_USE_CXX11_ABI
#define _GLIBCXX_USE_CXX11_ABI 0