diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2018-08-31 15:09:47 -0400 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2018-08-31 15:09:47 -0400 |
commit | 6cec3c81a76c7021bcb94b04cf78d22910940634 (patch) | |
tree | 630169bbb51bb9baf3e05067ca5371d77d3c3e9c | |
parent | d5481391bc0d71df048476dfb471afb86e9621d9 (diff) | |
download | gcc-6cec3c81a76c7021bcb94b04cf78d22910940634.zip gcc-6cec3c81a76c7021bcb94b04cf78d22910940634.tar.gz gcc-6cec3c81a76c7021bcb94b04cf78d22910940634.tar.bz2 |
10.cc: Add dg-require-fileio.
2018-08-31 Sandra Loosemore <sandra@codesourcery.com>
libstdc++-v3/
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
Add dg-require-fileio.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
Likewise.
* testsuite/21_strings/basic_string_view/inserters/wchar_t/2.cc:
Likewise.
* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc:
Likewise.
* testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc:
Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc:
Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_ifstream/cons/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ifstream/open/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc:
Likewise.
* testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise.
* testsuite/27_io/basic_ofstream/cons/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ofstream/open/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc:
Likewise.
* testsuite/27_io/objects/wchar_t/10.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-2.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-4.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-5.cc: Likewise.
* testsuite/experimental/string_view/inserters/wchar_t/2.cc:
Likewise.
* testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
From-SVN: r264022
42 files changed, 128 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d14bbaa..f5efaea 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,64 @@ +2018-08-31 Sandra Loosemore <sandra@codesourcery.com> + + * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc: + Add dg-require-fileio. + * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc: + Likewise. + * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc: + Likewise. + * testsuite/21_strings/basic_string_view/inserters/wchar_t/2.cc: + Likewise. + * testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc: + Likewise. + * testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc: + Likewise. + * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise. + * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc: + Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc: + Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc: + Likewise. + * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc: + Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc: + Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc: + Likewise. + * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc: + Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_ifstream/cons/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ifstream/open/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc: + Likewise. + * testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc: + Likewise. + * testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise. + * testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise. + * testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise. + * testsuite/27_io/basic_ofstream/cons/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ofstream/open/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc: + Likewise. + * testsuite/27_io/objects/wchar_t/10.cc: Likewise. + * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise. + * testsuite/27_io/objects/wchar_t/12048-2.cc: Likewise. + * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise. + * testsuite/27_io/objects/wchar_t/12048-4.cc: Likewise. + * testsuite/27_io/objects/wchar_t/12048-5.cc: Likewise. + * testsuite/experimental/string_view/inserters/wchar_t/2.cc: + Likewise. + * testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise. + 2018-08-30 Sandra Loosemore <sandra@codesourcery.com> * testsuite/experimental/propagate_const/observers/1.cc: Make diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc index c070ffd..46ff87c 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc @@ -18,6 +18,7 @@ // 21.3.7.9 inserters and extractors // { dg-options "-DMAX_SIZE=505" { target simulator } } +// { dg-require-fileio "" } #ifndef MAX_SIZE #define MAX_SIZE 777 diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc index 96db4ab..796664c 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc @@ -18,6 +18,7 @@ // 21.3.7.9 inserters and extractors // { dg-options "-DMAX_SIZE=466" { target simulator } } +// { dg-require-fileio "" } #ifndef MAX_SIZE #define MAX_SIZE 666 diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc index d5e453f..87f51d4 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc @@ -23,6 +23,8 @@ // working, not to mention other major details like char_traits, and // all of the string class. +// { dg-require-fileio "" } + #include <string> #include <fstream> #include <iostream> diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/wchar_t/2.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/wchar_t/2.cc index ebb2752..a8aaf15 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/inserters/wchar_t/2.cc @@ -1,4 +1,5 @@ // { dg-options "-std=gnu++17" } +// { dg-require-fileio "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc b/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc index 3c2674f..4221642 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc @@ -17,6 +17,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. +// { dg-require-fileio "" } + #include <iterator> #include <fstream> #include <algorithm> diff --git a/libstdc++-v3/testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc b/libstdc++-v3/testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc index c49661e..62e15ef 100644 --- a/libstdc++-v3/testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc @@ -17,6 +17,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. +// { dg-require-fileio "" } + #include <iterator> #include <fstream> #include <algorithm> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc index 9982948..62b37bad 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc @@ -17,6 +17,8 @@ // 27.8.1.3 filebuf member functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc index f940fde..b82d19b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc @@ -17,6 +17,8 @@ // 27.8.1.3 filebuf member functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc index a8688da..1de3835 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc @@ -17,6 +17,8 @@ // 27.8.1.3 filebuf member functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc index 70cfa4b..0326cbf 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc @@ -17,6 +17,8 @@ // 27.8.1.3 filebuf member functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc index 45b1cba..de0c9b4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc @@ -17,6 +17,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <locale> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc index 7f16d17..e83afa6 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc @@ -17,6 +17,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc index 203f195..5a6cad9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc @@ -17,6 +17,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc index 078b645..58a6559 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc @@ -17,6 +17,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc index 235133e..1f84a7b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc @@ -17,6 +17,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc index 4e8d5c9..4f88ee0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc @@ -17,6 +17,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc index cdfc135..6217b2b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc @@ -17,6 +17,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc index ee9ead8..2485ca7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc @@ -17,6 +17,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <locale> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc index 855aa77..bad2326 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc @@ -1,4 +1,5 @@ // { dg-require-namedlocale "se_NO.UTF-8" } +// { dg-require-fileio "" } // 2003-09-04 Petur Runolfsson <peturr02@ru.is> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc index 67bc2c0..38dafa7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc @@ -1,4 +1,5 @@ // { dg-require-namedlocale "se_NO.UTF-8" } +// { dg-require-fileio "" } // 2003-09-04 Petur Runolfsson <peturr02@ru.is> diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/wchar_t/1.cc index 7437cff..c0702092 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/wchar_t/1.cc @@ -16,6 +16,7 @@ // <http://www.gnu.org/licenses/>. // { dg-do run { target *-*-mingw* } } +// { dg-require-fileio "" } #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/open/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/open/wchar_t/1.cc index e236697..eb8bf0a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/open/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/open/wchar_t/1.cc @@ -18,6 +18,7 @@ // 30.9.3.1 basic_ifstream constructors [ifstream.cons] // { dg-do run { target *-*-mingw* } } +// { dg-require-fileio "" } #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc index b34b397..01643a4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc @@ -20,6 +20,7 @@ // 27.6.1.2.3 basic_istream::operator>> // { dg-options "-DMAX_SIZE=466" { target simulator } } +// { dg-require-fileio "" } #ifndef MAX_SIZE #define MAX_SIZE 666 diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc index 493e260..db782f5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc @@ -19,6 +19,8 @@ // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt +// { dg-require-fileio "" } + #include <istream> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/2.cc index bcb9ca9..c56d34c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/get/wchar_t/2.cc @@ -19,6 +19,8 @@ // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt +// { dg-require-fileio "" } + #include <istream> #include <sstream> #include <fstream> diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc index 15546f4..f771a58 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/wchar_t/5.cc @@ -18,6 +18,7 @@ // 27.6.1.3 unformatted input functions // { dg-options "-DMAX_LENGTH=7" { target simulator } } +// { dg-require-fileio "" } #ifndef MAX_LENGTH #define MAX_LENGTH 777 diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc index 3336c1f..116adbf 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc @@ -18,6 +18,7 @@ // 27.6.1.3 unformatted input functions // { dg-options "-DMAX_SIZE=355" { target simulator } } +// { dg-require-fileio "" } #ifndef MAX_SIZE #define MAX_SIZE 555 diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/3.cc index f6d7116..cf231bb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/wchar_t/3.cc @@ -19,6 +19,8 @@ // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt +// { dg-require-fileio "" } + #include <istream> #include <fstream> #include <limits> diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc index 962b93e..d95ab8e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc @@ -22,6 +22,8 @@ // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt +// { dg-require-fileio "" } + #include <istream> #include <sstream> #include <fstream> diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc index 68059d4..7271731 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc @@ -20,6 +20,8 @@ // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt +// { dg-require-fileio "" } + #include <istream> #include <sstream> #include <fstream> diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/wchar_t/1.cc index ae9893e..e26c2ea 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/wchar_t/1.cc @@ -16,6 +16,7 @@ // <http://www.gnu.org/licenses/>. // { dg-do run { target *-*-mingw* } } +// { dg-require-fileio "" } #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/1.cc index e024a27..14fe143 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/wchar_t/1.cc @@ -18,6 +18,7 @@ // 30.9.4.1 basic_ofstream constructors [ofstream.cons] // { dg-do run { target *-*-mingw* } } +// { dg-require-fileio "" } #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc index de13f51..9857adb 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc @@ -19,6 +19,8 @@ // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt +// { dg-require-fileio "" } + #include <ostream> #include <sstream> #include <fstream> diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc index f3cb6d7..199622d 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/10.cc @@ -1,4 +1,5 @@ // { dg-require-namedlocale "se_NO.UTF-8" } +// { dg-require-fileio "" } // 2003-05-01 Petur Runolfsson <peturr02@ru.is> diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-1.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-1.cc index b6cd0cc..30622b0 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-1.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-1.cc @@ -18,6 +18,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. +// { dg-require-fileio "" } + #include <iostream> #include <cstdio> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-2.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-2.cc index 32d2f90..616490d 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-2.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-2.cc @@ -15,6 +15,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. +// { dg-require-fileio "" } + #include <iostream> #include <cstdio> #include <cwchar> diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-3.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-3.cc index dc81f50..bcad0ce 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-3.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-3.cc @@ -18,6 +18,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. +// { dg-require-fileio "" } + #include <iostream> #include <cwchar> #include <cstdio> diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-4.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-4.cc index 772fd57..0861815 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-4.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-4.cc @@ -15,6 +15,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. +// { dg-require-fileio "" } + #include <iostream> #include <cstdio> #include <cwchar> diff --git a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-5.cc b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-5.cc index c2fb4fb..760b87f 100644 --- a/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-5.cc +++ b/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-5.cc @@ -20,6 +20,7 @@ // only returns characters that were read with cin.rdbuf()->sbumpc() // { dg-do run { xfail *-*-* } } +// { dg-require-fileio "" } #include <iostream> #include <cstdio> diff --git a/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/2.cc b/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/2.cc index 4b4b6e4..a8f6417 100644 --- a/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/2.cc +++ b/libstdc++-v3/testsuite/experimental/string_view/inserters/wchar_t/2.cc @@ -1,4 +1,5 @@ // { dg-do run { target c++14 } } +// { dg-require-fileio "" } // Copyright (C) 2013-2018 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc index 49582c8..72fde99 100644 --- a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc +++ b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc @@ -17,6 +17,8 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. +// { dg-require-fileio "" } + #include <ext/stdio_sync_filebuf.h> #include <cstring> #include <testsuite_hooks.h> |