aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2019-02-18 14:09:17 +0000
committerWilco Dijkstra <wilco@gcc.gnu.org>2019-02-18 14:09:17 +0000
commiteb8c4926c5bcec83ec7d4198e46bc9efe9a26f17 (patch)
tree88d08de1a2aa1bc884ad6eb3297b4c2c1cf6ed71
parente99589e204cb6790a5cbf50c4205ad1c4239ae24 (diff)
downloadgcc-eb8c4926c5bcec83ec7d4198e46bc9efe9a26f17.zip
gcc-eb8c4926c5bcec83ec7d4198e46bc9efe9a26f17.tar.gz
gcc-eb8c4926c5bcec83ec7d4198e46bc9efe9a26f17.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc8
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/operations/resize_file.cc1
-rw-r--r--libstdc++-v3/testsuite/27_io/filesystem/path/generation/normal2.cc1
4 files changed, 11 insertions, 5 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 3691aca..f2279b9 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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.
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc
index c9f34f4..026aa57 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc
@@ -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>
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/resize_file.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/resize_file.cc
index 953c4e1..deeeab3 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/operations/resize_file.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/operations/resize_file.cc
@@ -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]
diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/generation/normal2.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/generation/normal2.cc
index 8c5bb95..576ac28 100644
--- a/libstdc++-v3/testsuite/27_io/filesystem/path/generation/normal2.cc
+++ b/libstdc++-v3/testsuite/27_io/filesystem/path/generation/normal2.cc
@@ -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