From 6cec3c81a76c7021bcb94b04cf78d22910940634 Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Fri, 31 Aug 2018 15:09:47 -0400 Subject: [PATCH] 10.cc: Add dg-require-fileio. 2018-08-31 Sandra Loosemore 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 --- libstdc++-v3/ChangeLog | 61 +++++++++++++++++++ .../inserters_extractors/wchar_t/10.cc | 1 + .../inserters_extractors/wchar_t/11.cc | 1 + .../inserters_extractors/wchar_t/5.cc | 2 + .../basic_string_view/inserters/wchar_t/2.cc | 1 + .../copy/streambuf_iterators/wchar_t/4.cc | 2 + .../find/istreambuf_iterators/wchar_t/2.cc | 2 + .../basic_filebuf/close/wchar_t/12790-1.cc | 2 + .../basic_filebuf/close/wchar_t/12790-2.cc | 2 + .../basic_filebuf/close/wchar_t/12790-3.cc | 2 + .../basic_filebuf/close/wchar_t/12790-4.cc | 2 + .../basic_filebuf/seekoff/wchar_t/11543.cc | 2 + .../basic_filebuf/seekoff/wchar_t/12790-1.cc | 2 + .../basic_filebuf/seekoff/wchar_t/12790-2.cc | 2 + .../basic_filebuf/seekoff/wchar_t/12790-3.cc | 2 + .../basic_filebuf/seekoff/wchar_t/12790-4.cc | 2 + .../basic_filebuf/seekpos/wchar_t/12790-1.cc | 2 + .../basic_filebuf/seekpos/wchar_t/12790-2.cc | 2 + .../basic_filebuf/seekpos/wchar_t/12790-4.cc | 2 + .../basic_filebuf/underflow/wchar_t/2.cc | 1 + .../basic_filebuf/underflow/wchar_t/3.cc | 1 + .../27_io/basic_ifstream/cons/wchar_t/1.cc | 1 + .../27_io/basic_ifstream/open/wchar_t/1.cc | 1 + .../extractors_character/wchar_t/4.cc | 1 + .../extractors_other/wchar_t/2.cc | 2 + .../27_io/basic_istream/get/wchar_t/2.cc | 2 + .../27_io/basic_istream/getline/wchar_t/5.cc | 1 + .../27_io/basic_istream/ignore/wchar_t/2.cc | 1 + .../27_io/basic_istream/ignore/wchar_t/3.cc | 2 + .../basic_istream/seekg/wchar_t/sstream.cc | 2 + .../basic_istream/tellg/wchar_t/sstream.cc | 2 + .../27_io/basic_ofstream/cons/wchar_t/1.cc | 1 + .../27_io/basic_ofstream/open/wchar_t/1.cc | 1 + .../inserters_other/wchar_t/1.cc | 2 + .../testsuite/27_io/objects/wchar_t/10.cc | 1 + .../27_io/objects/wchar_t/12048-1.cc | 2 + .../27_io/objects/wchar_t/12048-2.cc | 2 + .../27_io/objects/wchar_t/12048-3.cc | 2 + .../27_io/objects/wchar_t/12048-4.cc | 2 + .../27_io/objects/wchar_t/12048-5.cc | 1 + .../string_view/inserters/wchar_t/2.cc | 1 + .../ext/stdio_sync_filebuf/wchar_t/1.cc | 2 + 42 files changed, 128 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d14bbaa9d38..f5efaea66e9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,64 @@ +2018-08-31 Sandra Loosemore + + * 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 * 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 c070ffd1cc8..46ff87cc9e7 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 96db4ab6cb5..796664c8e3a 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 d5e453f562c..87f51d4309e 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 #include #include 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 ebb27521325..a8aaf15406a 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 3c2674f78b0..4221642faca 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 // . +// { dg-require-fileio "" } + #include #include #include 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 c49661e3a4b..62e15ef2743 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 // . +// { dg-require-fileio "" } + #include #include #include 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 99829480d27..62b37badcfc 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 #include #include 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 f940fde4754..b82d19bf7cd 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 #include #include 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 a8688da9fe1..1de3835ae50 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 #include #include 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 70cfa4bf7e5..0326cbfe760 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 #include #include 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 45b1cbafb2e..de0c9b4819d 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 #include #include 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 7f16d17523a..e83afa6bdc4 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 #include #include 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 203f19556b5..5a6cad98a41 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 #include #include 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 078b645036a..58a6559aeaf 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 #include #include 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 235133e78b1..1f84a7b691e 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 #include #include 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 4e8d5c9694f..4f88ee034ae 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 #include #include 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 cdfc1359829..6217b2bd68c 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 #include #include 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 ee9ead8af96..2485ca7e656 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 #include #include 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 855aa771669..bad23261018 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 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 67bc2c0d69d..38dafa7733e 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 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 7437cff60a5..c07020923a4 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 @@ // . // { dg-do run { target *-*-mingw* } } +// { dg-require-fileio "" } #include #include 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 e2366973924..eb8bf0a5ae8 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 #include 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 b34b3976c9f..01643a44da2 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 493e2608362..db782f53cea 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 #include #include 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 bcb9ca9f423..c56d34cd29a 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 #include #include 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 15546f4b26f..f771a58bd0a 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 3336c1f5892..116adbf6090 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 f6d71164da4..cf231bb6072 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 #include #include 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 962b93e6620..d95ab8e204f 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 #include #include 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 68059d4109e..7271731e598 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 #include #include 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 ae9893e2413..e26c2ea20ac 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 @@ // . // { dg-do run { target *-*-mingw* } } +// { dg-require-fileio "" } #include #include 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 e024a27b89c..14fe143e4b8 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 #include 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 de13f51aad1..9857adb0686 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 #include #include 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 f3cb6d767b9..199622d0f3c 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 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 b6cd0cc77ef..30622b0b301 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 // . +// { dg-require-fileio "" } + #include #include #include 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 32d2f904727..616490d83d2 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 // . +// { dg-require-fileio "" } + #include #include #include 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 dc81f50e102..bcad0cefc67 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 // . +// { dg-require-fileio "" } + #include #include #include 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 772fd57d6d6..0861815f456 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 // . +// { dg-require-fileio "" } + #include #include #include 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 c2fb4fb11bc..760b87f99e3 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 #include 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 4b4b6e4a63a..a8f641760ef 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 49582c8e0a7..72fde99eba9 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 // . +// { dg-require-fileio "" } + #include #include #include -- 2.30.2