Make Filesystem TS tests pass in C++17 mode
authorJonathan Wakely <jwakely@redhat.com>
Mon, 16 Apr 2018 08:24:40 +0000 (09:24 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 16 Apr 2018 08:24:40 +0000 (09:24 +0100)
The <testsuite_fs.h> header defaults to using std::filesystem in C++17
mode. The Filesystem TS tests need to define the macro that causes
std::experimental::filesystem to be used instead.

* testsuite/experimental/filesystem/file_status/1.cc: Add
-DUSE_FILESYSTEM_TS to dg-options.
* testsuite/experimental/filesystem/iterators/directory_iterator.cc:
Likewise.
* testsuite/experimental/filesystem/iterators/pop.cc: Likewise.
* testsuite/experimental/filesystem/iterators/
recursive_directory_iterator.cc: Likewise.
* testsuite/experimental/filesystem/operations/absolute.cc: Likewise.
* testsuite/experimental/filesystem/operations/canonical.cc: Likewise.
* testsuite/experimental/filesystem/operations/copy.cc: Likewise.
* testsuite/experimental/filesystem/operations/copy_file.cc: Likewise.
* testsuite/experimental/filesystem/operations/create_directories.cc:
Likewise.
* testsuite/experimental/filesystem/operations/create_directory.cc:
Likewise.
* testsuite/experimental/filesystem/operations/create_symlink.cc:
Likewise.
* testsuite/experimental/filesystem/operations/current_path.cc:
Likewise.
* testsuite/experimental/filesystem/operations/equivalent.cc: Likewise.
* testsuite/experimental/filesystem/operations/exists.cc: Likewise.
* testsuite/experimental/filesystem/operations/file_size.cc: Likewise.
* testsuite/experimental/filesystem/operations/is_empty.cc: Likewise.
* testsuite/experimental/filesystem/operations/last_write_time.cc:
Likewise.
* testsuite/experimental/filesystem/operations/permissions.cc:
Likewise.
* testsuite/experimental/filesystem/operations/read_symlink.cc:
Likewise.
* testsuite/experimental/filesystem/operations/remove.cc: Likewise.
* testsuite/experimental/filesystem/operations/remove_all.cc: Likewise.
* testsuite/experimental/filesystem/operations/status.cc: Likewise.
* testsuite/experimental/filesystem/operations/temp_directory_path.cc:
Likewise.
* testsuite/experimental/filesystem/path/append/path.cc: Likewise.
* testsuite/experimental/filesystem/path/assign/assign.cc: Likewise.
* testsuite/experimental/filesystem/path/assign/copy.cc: Likewise.
* testsuite/experimental/filesystem/path/compare/compare.cc: Likewise.
* testsuite/experimental/filesystem/path/compare/path.cc: Likewise.
* testsuite/experimental/filesystem/path/compare/strings.cc: Likewise.
* testsuite/experimental/filesystem/path/concat/path.cc: Likewise.
* testsuite/experimental/filesystem/path/concat/strings.cc: Likewise.
* testsuite/experimental/filesystem/path/construct/copy.cc: Likewise.
* testsuite/experimental/filesystem/path/construct/default.cc:
Likewise.
* testsuite/experimental/filesystem/path/construct/locale.cc: Likewise.
* testsuite/experimental/filesystem/path/construct/range.cc: Likewise.
* testsuite/experimental/filesystem/path/construct/string_view.cc:
Likewise.
* testsuite/experimental/filesystem/path/decompose/extension.cc:
Likewise.
* testsuite/experimental/filesystem/path/decompose/filename.cc:
Likewise.
* testsuite/experimental/filesystem/path/decompose/parent_path.cc:
Likewise.
* testsuite/experimental/filesystem/path/decompose/relative_path.cc:
Likewise.
* testsuite/experimental/filesystem/path/decompose/root_directory.cc:
Likewise.
* testsuite/experimental/filesystem/path/decompose/root_name.cc:
Likewise.
* testsuite/experimental/filesystem/path/decompose/root_path.cc:
Likewise.
* testsuite/experimental/filesystem/path/decompose/stem.cc: Likewise.
* testsuite/experimental/filesystem/path/generic/generic_string.cc:
Likewise.
* testsuite/experimental/filesystem/path/itr/traversal.cc: Likewise.
* testsuite/experimental/filesystem/path/modifiers/clear.cc: Likewise.
* testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
Likewise.
* testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
Likewise.
* testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
Likewise.
* testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
Likewise.
* testsuite/experimental/filesystem/path/modifiers/swap.cc: Likewise.
* testsuite/experimental/filesystem/path/native/string.cc: Likewise.
* testsuite/experimental/filesystem/path/nonmember/hash_value.cc:
Likewise.
* testsuite/experimental/filesystem/path/query/empty.cc: Likewise.
* testsuite/experimental/filesystem/path/query/has_extension.cc:
Likewise.
* testsuite/experimental/filesystem/path/query/has_filename.cc:
Likewise.
* testsuite/experimental/filesystem/path/query/has_parent_path.cc:
Likewise.
* testsuite/experimental/filesystem/path/query/has_relative_path.cc:
Likewise.
* testsuite/experimental/filesystem/path/query/has_root_directory.cc:
Likewise.
* testsuite/experimental/filesystem/path/query/has_root_name.cc:
Likewise.
* testsuite/experimental/filesystem/path/query/has_root_path.cc:
Likewise.
* testsuite/experimental/filesystem/path/query/has_stem.cc: Likewise.
* testsuite/experimental/filesystem/path/query/is_relative.cc:
Likewise.

From-SVN: r259396

65 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/filesystem/file_status/1.cc
libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc
libstdc++-v3/testsuite/experimental/filesystem/iterators/pop.cc
libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/create_directory.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/create_symlink.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/equivalent.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/is_empty.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/last_write_time.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/remove.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/remove_all.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/append/path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc
libstdc++-v3/testsuite/experimental/filesystem/path/assign/copy.cc
libstdc++-v3/testsuite/experimental/filesystem/path/compare/compare.cc
libstdc++-v3/testsuite/experimental/filesystem/path/compare/path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc
libstdc++-v3/testsuite/experimental/filesystem/path/concat/path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc
libstdc++-v3/testsuite/experimental/filesystem/path/construct/copy.cc
libstdc++-v3/testsuite/experimental/filesystem/path/construct/default.cc
libstdc++-v3/testsuite/experimental/filesystem/path/construct/locale.cc
libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc
libstdc++-v3/testsuite/experimental/filesystem/path/construct/string_view.cc
libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc
libstdc++-v3/testsuite/experimental/filesystem/path/decompose/filename.cc
libstdc++-v3/testsuite/experimental/filesystem/path/decompose/parent_path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/decompose/relative_path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_directory.cc
libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_name.cc
libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/decompose/stem.cc
libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc
libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc
libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/clear.cc
libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/make_preferred.cc
libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/remove_filename.cc
libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_extension.cc
libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_filename.cc
libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/swap.cc
libstdc++-v3/testsuite/experimental/filesystem/path/native/string.cc
libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/hash_value.cc
libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc
libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc
libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc
libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc
libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc
libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc
libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc

index 4fae49c..13d666c 100644 (file)
@@ -1,3 +1,104 @@
+2018-04-16  Jonathan Wakely  <jwakely@redhat.com>
+
+       * testsuite/experimental/filesystem/file_status/1.cc: Add
+       -DUSE_FILESYSTEM_TS to dg-options.
+       * testsuite/experimental/filesystem/iterators/directory_iterator.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/iterators/pop.cc: Likewise.
+       * testsuite/experimental/filesystem/iterators/
+       recursive_directory_iterator.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/absolute.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/canonical.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/copy.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/copy_file.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/create_directories.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/operations/create_directory.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/operations/create_symlink.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/operations/current_path.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/operations/equivalent.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/exists.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/file_size.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/is_empty.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/last_write_time.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/operations/permissions.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/operations/read_symlink.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/operations/remove.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/remove_all.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/status.cc: Likewise.
+       * testsuite/experimental/filesystem/operations/temp_directory_path.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/append/path.cc: Likewise.
+       * testsuite/experimental/filesystem/path/assign/assign.cc: Likewise.
+       * testsuite/experimental/filesystem/path/assign/copy.cc: Likewise.
+       * testsuite/experimental/filesystem/path/compare/compare.cc: Likewise.
+       * testsuite/experimental/filesystem/path/compare/path.cc: Likewise.
+       * testsuite/experimental/filesystem/path/compare/strings.cc: Likewise.
+       * testsuite/experimental/filesystem/path/concat/path.cc: Likewise.
+       * testsuite/experimental/filesystem/path/concat/strings.cc: Likewise.
+       * testsuite/experimental/filesystem/path/construct/copy.cc: Likewise.
+       * testsuite/experimental/filesystem/path/construct/default.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/construct/locale.cc: Likewise.
+       * testsuite/experimental/filesystem/path/construct/range.cc: Likewise.
+       * testsuite/experimental/filesystem/path/construct/string_view.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/decompose/extension.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/decompose/filename.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/decompose/parent_path.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/decompose/relative_path.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/decompose/root_directory.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/decompose/root_name.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/decompose/root_path.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/decompose/stem.cc: Likewise.
+       * testsuite/experimental/filesystem/path/generic/generic_string.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/itr/traversal.cc: Likewise.
+       * testsuite/experimental/filesystem/path/modifiers/clear.cc: Likewise.
+       * testsuite/experimental/filesystem/path/modifiers/make_preferred.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/modifiers/remove_filename.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/modifiers/replace_extension.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/modifiers/replace_filename.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/modifiers/swap.cc: Likewise.
+       * testsuite/experimental/filesystem/path/native/string.cc: Likewise.
+       * testsuite/experimental/filesystem/path/nonmember/hash_value.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/query/empty.cc: Likewise.
+       * testsuite/experimental/filesystem/path/query/has_extension.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/query/has_filename.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/query/has_parent_path.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/query/has_relative_path.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/query/has_root_directory.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/query/has_root_name.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/query/has_root_path.cc:
+       Likewise.
+       * testsuite/experimental/filesystem/path/query/has_stem.cc: Likewise.
+       * testsuite/experimental/filesystem/path/query/is_relative.cc:
+       Likewise.
+
 2018-04-13  Jonathan Wakely  <jwakely@redhat.com>
 
        * src/c++11/Makefile.am: Fix sed command.
index d3ab82d..66d45c6 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index cb479e9..6199620 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 57d0898..f881c08 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 0a64019..6a647bb 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 5de1dec..753e54d 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 96a6fb0..3a89b64 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 6a193b4..6568a6d 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index e1421a7..d529d06 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index aa61e5f..c81b0b8 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 4b2730d..2e79400 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 6fbebcc..a021312 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 12fa661..81ed212 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 9e54159..cb208bd 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 1277c37..c4b6ebf 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index bc2dd1b..2fdf9bd 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index ee40b23..14b2bce 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 1ca6278..9d1752f 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 81d1530..71da5ce 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 60a00cd..9d30593 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 8d18010..df96d29 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 67f6e98..ddf150b 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 619f96e..2d3c9a0 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index e328610..7e60b3f 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 6ffcefe..52c83cf 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index e929d98..e32be5a 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index d94d5f5..2f80b78 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 3f751bb..46b2405 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 28943f1..e0a9090 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index ca29f3e..fc5f0df 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 70d56d5..31bdcb9 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 5a18ffa..649ad0b 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index e046356..c72d4cd 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index ae3ef79..0b96156 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 220dc2e..46e0758 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 9313ae2..0081318 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index ba8fdd6..dd1fd1d 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs -std=gnu++17" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs -std=gnu++17" }
 // { dg-do run { target c++17 } }
 // { dg-require-filesystem-ts "" }
 
@@ -24,7 +24,6 @@
 #include <experimental/filesystem>
 #include <string_view>
 #include <string>
-#define USE_FILESYSTEM_TS
 #include <testsuite_fs.h>
 
 using std::experimental::filesystem::path;
index f48d4b0..ab828dd 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 73bdb64..93ccd7c 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index aab2175..b21aba4 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 60c2a8e..6e0c6a9 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index b0a3257..535610f 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 4552971..f909b36 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index c0ce848..50f618a 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 95bd363..088c4ec 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index fe57b35..0d852bd 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 8eea2a1..0f8d7f5 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 2d09809..42c25b6 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index ac5dcd2..e26bb3b 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index b8ff7c3..acbc0fd 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 9bf33c9..7c1f2ea 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 1095e63..d789a56 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index bb0adf0..6261af7 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 595ce09..bd353ae 100644 (file)
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 455780c..9206fef 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index edb4fea..2610453 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 1c723de..1afe4cf 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 61409d9..b1eaabe 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index efab9a2..d527218 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index f69c8e5..bd40d83 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index d060e3b..e291067 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 544e677..80cf98a 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index a8b60d6..a220731 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index 055ebe4..32f1613 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }
 
index d186e34..6c8c60b 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-options "-lstdc++fs" }
+// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" }
 // { dg-do run { target c++11 } }
 // { dg-require-filesystem-ts "" }