diff mbox series

[COMMITTED] Fix libstdc++ filesystem tests

Message ID DB5PR08MB1030665DA827ABB221022F3A83630@DB5PR08MB1030.eurprd08.prod.outlook.com
State New
Headers show
Series [COMMITTED] Fix libstdc++ filesystem tests | expand

Commit Message

Wilco Dijkstra Feb. 18, 2019, 2:10 p.m. UTC
Some recently added libstdc++ filesystem tests are missing a
dg-require-filesystem-ts.

Committed as obvious.

ChangeLog:
2019-02-16  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.

---
diff mbox series

Patch

diff --git a/libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc b/libstdc++-v3/testsuite/27_io/filesystem/operations/all.cc
index c9f34f4a7af13c4254363091beedfef6ea303ba2..026aa57bc396610584e2c358aa7d8b6834c328a2 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 953c4e1c664f7a370a480f603bfaa34b79b29471..deeeab3078c3bc57c6ec446984f408d21b2ada06 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 8c5bb954e81d42794bcf934c3f70c6f220631a29..576ac286d5054956d927987dddcb404aec69ebf2 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