From: Jonathan Wakely Date: Mon, 16 Apr 2018 08:24:40 +0000 (+0100) Subject: Make Filesystem TS tests pass in C++17 mode X-Git-Tag: basepoints/gcc-9~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef0e80d23cae8d87167ffeab56f5930da1ddf05d;p=thirdparty%2Fgcc.git Make Filesystem TS tests pass in C++17 mode The 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 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4fae49c29332..13d666cd803e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,104 @@ +2018-04-16 Jonathan Wakely + + * 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 * src/c++11/Makefile.am: Fix sed command. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/file_status/1.cc b/libstdc++-v3/testsuite/experimental/filesystem/file_status/1.cc index d3ab82d464c6..66d45c69727b 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/file_status/1.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/file_status/1.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc b/libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc index cb479e9af722..6199620c4dbe 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/iterators/pop.cc b/libstdc++-v3/testsuite/experimental/filesystem/iterators/pop.cc index 57d089809d63..f881c081eb46 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/iterators/pop.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/iterators/pop.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc b/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc index 0a64019e10bf..6a647bb0b04e 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc index 5de1dec616a9..753e54d33ef1 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/absolute.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc index 96a6fb008831..3a89b649632e 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc index 6a193b49a807..6568a6d9c767 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/copy.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc index e1421a7216ae..d529d0654bc6 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/copy_file.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc index aa61e5ff462b..c81b0b8e11f8 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directory.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directory.cc index 4b2730dc3b4e..2e79400fd853 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directory.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/create_directory.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/create_symlink.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/create_symlink.cc index 6fbebcc1d542..a02131288fbd 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/create_symlink.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/create_symlink.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc index 12fa6613b057..81ed212eb19c 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/current_path.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/equivalent.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/equivalent.cc index 9e5415999944..cb208bde7530 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/equivalent.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/equivalent.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc index 1277c3753ec5..c4b6ebf06627 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/exists.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc index bc2dd1bb7434..2fdf9bd79d2d 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/file_size.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/is_empty.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/is_empty.cc index ee40b237ae13..14b2bcea0715 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/is_empty.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/is_empty.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/last_write_time.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/last_write_time.cc index 1ca6278ca934..9d1752fd4fcc 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/last_write_time.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/last_write_time.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc index 81d153016af5..71da5ce4e031 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/permissions.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc index 60a00cd69891..9d30593acb84 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/read_symlink.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/remove.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/remove.cc index 8d1801099a26..df96d293987b 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/remove.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/remove.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/remove_all.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/remove_all.cc index 67f6e989d27a..ddf150b79dcb 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/remove_all.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/remove_all.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc index 619f96e48724..2d3c9a0071c4 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/status.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc index e32861015242..7e60b3fa442e 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/temp_directory_path.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/append/path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/append/path.cc index 6ffcefebc044..52c83cf92d34 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/append/path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/append/path.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc index e929d98c5a90..e32be5a333aa 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/assign/copy.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/assign/copy.cc index d94d5f586d99..2f80b78fdd12 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/assign/copy.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/assign/copy.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/compare.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/compare.cc index 3f751bb97c5f..46b2405e4857 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/compare.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/compare.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/path.cc index 28943f15552d..e0a9090cf265 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/path.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc index ca29f3e03ad9..fc5f0dfe92e7 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/compare/strings.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/concat/path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/concat/path.cc index 70d56d592bcd..31bdcb9f1dc8 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/concat/path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/concat/path.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc index 5a18ffa9785c..649ad0bb0c29 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/copy.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/copy.cc index e0463569ea45..c72d4cdc3316 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/copy.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/copy.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/default.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/default.cc index ae3ef79c8e50..0b9615658c87 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/default.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/default.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/locale.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/locale.cc index 220dc2edbdc5..46e0758e2941 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/locale.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/locale.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc index 9313ae22076d..0081318fc42b 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/string_view.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/string_view.cc index ba8fdd6f7328..dd1fd1ddb5e1 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/string_view.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/string_view.cc @@ -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 #include #include -#define USE_FILESYSTEM_TS #include using std::experimental::filesystem::path; diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc index f48d4b03cb90..ab828dd16556 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/extension.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/filename.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/filename.cc index 73bdb64962f2..93ccd7ccb194 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/filename.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/filename.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/parent_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/parent_path.cc index aab217590566..b21aba4d5091 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/parent_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/parent_path.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/relative_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/relative_path.cc index 60c2a8ef40ef..6e0c6a9f0e18 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/relative_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/relative_path.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_directory.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_directory.cc index b0a3257555ac..535610f4e8f3 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_directory.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_directory.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_name.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_name.cc index 455297120bd9..f909b3634b1b 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_name.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_name.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_path.cc index c0ce84870273..50f618a68f80 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/root_path.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/stem.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/stem.cc index 95bd36399b8e..088c4ec4b35e 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/stem.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/decompose/stem.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc index fe57b3577bf5..0d852bd9b884 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc index 8eea2a19d04a..0f8d7f52749c 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/itr/traversal.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/clear.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/clear.cc index 2d09809e3e42..42c25b6e0a55 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/clear.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/clear.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/make_preferred.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/make_preferred.cc index ac5dcd221791..e26bb3b15875 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/make_preferred.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/make_preferred.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/remove_filename.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/remove_filename.cc index b8ff7c3d583f..acbc0fd3d0c5 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/remove_filename.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/remove_filename.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_extension.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_extension.cc index 9bf33c9a1cc0..7c1f2eaa4227 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_extension.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_extension.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_filename.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_filename.cc index 1095e63cc464..d789a56405a6 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_filename.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/replace_filename.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/swap.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/swap.cc index bb0adf0ba56a..6261af7f5477 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/swap.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/modifiers/swap.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/native/string.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/native/string.cc index 595ce091b68e..bd353ae5e198 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/native/string.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/native/string.cc @@ -15,7 +15,7 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-lstdc++fs" } +// { dg-options "-DUSE_FILESYSTEM_TS -lstdc++fs" } // { dg-do run { target c++11 } } // { dg-require-filesystem-ts "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/hash_value.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/hash_value.cc index 455780cdcf63..9206fefd4e3e 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/hash_value.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/nonmember/hash_value.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc index edb4fea1c07d..26104533b1d3 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/empty.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc index 1c723de8288d..1afe4cfce3f5 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_extension.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc index 61409d9e429c..b1eaabeeffb2 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_filename.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc index efab9a2b35bd..d5272181b024 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_parent_path.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc index f69c8e55ace7..bd40d831b6a4 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_relative_path.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc index d060e3b980e5..e2910673de1d 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_directory.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc index 544e677b34b6..80cf98a34a06 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_name.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc index a8b60d6531e1..a2207311e66c 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_root_path.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc index 055ebe43c9d5..32f16133b3f6 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/has_stem.cc @@ -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 "" } diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc index d186e3484f5c..6c8c60b43cb6 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/query/is_relative.cc @@ -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 "" }