diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-14 11:37:55 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-14 11:37:55 +0000 |
commit | b14642ed3f1ed50e4dc20303805c3ae2ac3ac379 (patch) | |
tree | 574c1fc05629047b5807b5b021bec272f57ed994 | |
parent | 352b5fffc4d370f1464e06010739e53fcf768881 (diff) | |
download | gcc-b14642ed3f1ed50e4dc20303805c3ae2ac3ac379.tar.gz |
* testsuite/lib/libstdc++.exp (check_v3_target_fileio,
check_v3_target_time): New.
* testsuite/lib/dg-options.exp (dg-require-fileio,
dg-require-time): New.
* testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Use it.
* testsuite/ext/stdio_sync_filebuf/char/1.cc: Use it.
* testsuite/ext/stdio_filebuf/char/2.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-1.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-2.cc: Use it.
* testsuite/ext/stdio_filebuf/char/10063-3.cc: Use it.
* testsuite/22_locale/time_put/put/char/12439_1.cc: Use it.
* testsuite/22_locale/time_put/put/char/12439_3.cc: Use it.
* testsuite/27_io/basic_ofstream/open/char/1.cc: Use it.
* testsuite/27_io/basic_ofstream/cons/char/2.cc: Use it.
* testsuite/27_io/objects/char/12048-2.cc: Use it.
* testsuite/27_io/objects/char/12048-4.cc: Use it.
* testsuite/27_io/objects/char/12048-1.cc: Use it.
* testsuite/27_io/objects/char/12048-3.cc: Use it.
* testsuite/27_io/objects/char/10.cc: Use it.
* testsuite/27_io/objects/char/12048-5.cc: Use it.
* testsuite/27_io/basic_istream/get/char/2.cc: Use it.
* testsuite/27_io/basic_istream/ignore/char/2.cc: Use it.
* testsuite/27_io/basic_istream/ignore/char/3.cc: Use it.
* testsuite/27_io/basic_istream/getline/char/5.cc: Use it.
* testsuite/27_io/basic_istream/seekg/char/sstream.cc: Use it.
* testsuite/27_io/basic_istream/seekg/char/fstream.cc: Use it.
* testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Use it.
* testsuite/27_io/basic_istream/extractors_other/char/2.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/sstream.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/1.cc: Use it.
* testsuite/27_io/basic_istream/tellg/char/fstream.cc: Use it.
* testsuite/27_io/basic_istream/extractors_character/char/4.cc: Use it.
* testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Use it.
* testsuite/27_io/basic_ostream/tellp/char/1.cc: Use it.
* testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Use it.
* testsuite/27_io/basic_ifstream/open/char/1.cc: Use it.
* testsuite/27_io/basic_ifstream/cons/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Use it.
* testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Use it.
* testsuite/27_io/basic_filebuf/is_open/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/open/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/open/char/3.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Use it.
* testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/close/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/close/char/4.cc: Use it.
* testsuite/27_io/basic_filebuf/underflow/10096.cc: Use it.
* testsuite/27_io/basic_filebuf/underflow/char/2.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Use it.
* testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Use it.
* testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Use it.
* testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Use it.
* testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: Use it.
* testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122913 138bc75d-0d04-0410-961f-82ee72b054a4
140 files changed, 564 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 68055f62c4a..f6af0df8cf6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,148 @@ +2007-03-14 Nathan Sidwell <nathan@codesourcery.com> + Joseph Myers <joseph@codesourcery.com>:: + + * testsuite/lib/libstdc++.exp (check_v3_target_fileio, + check_v3_target_time): New. + * testsuite/lib/dg-options.exp (dg-require-fileio, + dg-require-time): New. + * testsuite/ext/stdio_sync_filebuf/char/12048-1.cc: Use it. + * testsuite/ext/stdio_sync_filebuf/char/12048-2.cc: Use it. + * testsuite/ext/stdio_sync_filebuf/char/12048-3.cc: Use it. + * testsuite/ext/stdio_sync_filebuf/char/12048-4.cc: Use it. + * testsuite/ext/stdio_sync_filebuf/char/1.cc: Use it. + * testsuite/ext/stdio_filebuf/char/2.cc: Use it. + * testsuite/ext/stdio_filebuf/char/10063-1.cc: Use it. + * testsuite/ext/stdio_filebuf/char/10063-2.cc: Use it. + * testsuite/ext/stdio_filebuf/char/10063-3.cc: Use it. + * testsuite/22_locale/time_put/put/char/12439_1.cc: Use it. + * testsuite/22_locale/time_put/put/char/12439_3.cc: Use it. + * testsuite/27_io/basic_ofstream/open/char/1.cc: Use it. + * testsuite/27_io/basic_ofstream/cons/char/2.cc: Use it. + * testsuite/27_io/objects/char/12048-2.cc: Use it. + * testsuite/27_io/objects/char/12048-4.cc: Use it. + * testsuite/27_io/objects/char/12048-1.cc: Use it. + * testsuite/27_io/objects/char/12048-3.cc: Use it. + * testsuite/27_io/objects/char/10.cc: Use it. + * testsuite/27_io/objects/char/12048-5.cc: Use it. + * testsuite/27_io/basic_istream/get/char/2.cc: Use it. + * testsuite/27_io/basic_istream/ignore/char/2.cc: Use it. + * testsuite/27_io/basic_istream/ignore/char/3.cc: Use it. + * testsuite/27_io/basic_istream/getline/char/5.cc: Use it. + * testsuite/27_io/basic_istream/seekg/char/sstream.cc: Use it. + * testsuite/27_io/basic_istream/seekg/char/fstream.cc: Use it. + * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Use it. + * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Use it. + * testsuite/27_io/basic_istream/tellg/char/sstream.cc: Use it. + * testsuite/27_io/basic_istream/tellg/char/1.cc: Use it. + * testsuite/27_io/basic_istream/tellg/char/fstream.cc: Use it. + * testsuite/27_io/basic_istream/extractors_character/char/4.cc: Use it. + * testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Use it. + * testsuite/27_io/basic_ostream/tellp/char/1.cc: Use it. + * testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Use it. + * testsuite/27_io/basic_ifstream/open/char/1.cc: Use it. + * testsuite/27_io/basic_ifstream/cons/char/1.cc: Use it. + * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Use it. + * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Use it. + * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Use it. + * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Use it. + * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Use it. + * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Use it. + * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Use it. + * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Use it. + * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Use it. + * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Use it. + * testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Use it. + * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Use it. + * testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Use it. + * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc: Use it. + * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Use it. + * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Use it. + * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Use it. + * testsuite/27_io/basic_filebuf/is_open/char/1.cc: Use it. + * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Use it. + * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Use it. + * testsuite/27_io/basic_filebuf/open/12790-1.cc: Use it. + * testsuite/27_io/basic_filebuf/open/char/1.cc: Use it. + * testsuite/27_io/basic_filebuf/open/char/2.cc: Use it. + * testsuite/27_io/basic_filebuf/open/char/3.cc: Use it. + * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Use it. + * testsuite/27_io/basic_filebuf/overflow/char/2.cc: Use it. + * testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Use it. + * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Use it. + * testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Use it. + * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Use it. + * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Use it. + * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Use it. + * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Use it. + * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Use it. + * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Use it. + * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Use it. + * testsuite/27_io/basic_filebuf/close/12790-1.cc: Use it. + * testsuite/27_io/basic_filebuf/close/char/1.cc: Use it. + * testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Use it. + * testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Use it. + * testsuite/27_io/basic_filebuf/close/char/2.cc: Use it. + * testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Use it. + * testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Use it. + * testsuite/27_io/basic_filebuf/close/char/4.cc: Use it. + * testsuite/27_io/basic_filebuf/underflow/10096.cc: Use it. + * testsuite/27_io/basic_filebuf/underflow/char/2.cc: Use it. + * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Use it. + * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Use it. + * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Use it. + * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Use it. + * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Use it. + * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Use it. + * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Use it. + * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Use it. + * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Use it. + * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Use it. + * testsuite/21_strings/basic_string/inserters_extractors/char/10.cc: Use it. + * testsuite/21_strings/basic_string/inserters_extractors/char/11.cc: Use it. + * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc: Use it. + 2007-03-13 Paolo Carlini <pcarlini@suse.de> * include/tr1/tuple: Only include <utility> for std::pair, and diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/10.cc b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/10.cc index 204ea4c53d2..8b20b5a83fb 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/10.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/10.cc @@ -18,6 +18,8 @@ // 21.3.7.9 inserters and extractors +// { dg-require-fileio "" } + #include <istream> #include <string> #include <fstream> diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/11.cc b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/11.cc index 9897bb28778..ddb8387de1e 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/11.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/11.cc @@ -18,6 +18,8 @@ // 21.3.7.9 inserters and extractors +// { dg-require-fileio "" } + #include <istream> #include <string> #include <fstream> diff --git a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/5.cc b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/5.cc index 544fa7a8724..726cbe1fb18 100644 --- a/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/5.cc +++ b/libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/char/5.cc @@ -24,6 +24,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/22_locale/time_put/put/char/12439_1.cc b/libstdc++-v3/testsuite/22_locale/time_put/put/char/12439_1.cc index 4680c7aecfa..6496c0c8957 100644 --- a/libstdc++-v3/testsuite/22_locale/time_put/put/char/12439_1.cc +++ b/libstdc++-v3/testsuite/22_locale/time_put/put/char/12439_1.cc @@ -18,6 +18,8 @@ // 22.2.5.3.1 time_put members +// { dg-require-time "" } + #include <locale> #include <sstream> #include <ctime> diff --git a/libstdc++-v3/testsuite/22_locale/time_put/put/char/12439_3.cc b/libstdc++-v3/testsuite/22_locale/time_put/put/char/12439_3.cc index 4408565350e..95866c0bf2c 100644 --- a/libstdc++-v3/testsuite/22_locale/time_put/put/char/12439_3.cc +++ b/libstdc++-v3/testsuite/22_locale/time_put/put/char/12439_3.cc @@ -18,6 +18,8 @@ // 22.2.5.3.1 time_put members +// { dg-require-time "" } + #include <locale> #include <sstream> #include <ctime> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/12790-1.cc index 93f5b113f4d..7454eb66b60 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/12790-1.cc @@ -18,6 +18,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/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc index 65b28c9eb5b..cca8a573437 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/1.cc @@ -23,6 +23,8 @@ // various tests for filebuf::open() and filebuf::close() including // the non-portable functionality in the libstdc++-v3 IO library +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-1.cc index ea7a3d06292..47a38c747b1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-1.cc @@ -18,6 +18,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/char/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-2.cc index d54139967c3..95a8f4944e7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-2.cc @@ -16,6 +16,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + // 27.8.1.3 filebuf member functions #include <locale> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-3.cc index b3e8c729ed5..d9144a9ecd3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-3.cc @@ -16,6 +16,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + // 27.8.1.3 filebuf member functions #include <locale> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-4.cc index 2e07d882e9a..2fd80bab124 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/12790-4.cc @@ -16,6 +16,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + // 27.8.1.3 filebuf member functions #include <locale> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/2.cc index f96e041ecbb..f517d93442f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/2.cc @@ -16,6 +16,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + // 27.8.1.3 filebuf member functions // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/4.cc index 678a75a377e..7c6e5b74213 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/char/4.cc @@ -18,6 +18,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + // 27.8.1.3 filebuf member functions // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc index 3af1d8bd5e4..393580947a9 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/1.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc index d923032f4aa..bb1e8387c25 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc @@ -18,6 +18,8 @@ // 27.5.2.2.3 Get area +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/is_open/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/is_open/char/1.cc index 1f974c0bcd0..01364fd6eac 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/is_open/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/is_open/char/1.cc @@ -23,6 +23,8 @@ // various tests for filebuf::open() and filebuf::close() including // the non-portable functionality in the libstdc++-v3 IO library +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/12790-1.cc index ac532dd13a2..0ee1ef7f2d8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/12790-1.cc @@ -18,6 +18,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/open/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/1.cc index 450e7293327..1522b518299 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/1.cc @@ -23,6 +23,8 @@ // various tests for filebuf::open() and filebuf::close() including // the non-portable functionality in the libstdc++-v3 IO library +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/2.cc index bc5eb9be63a..aabce7b39f8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/2.cc @@ -23,6 +23,8 @@ // various tests for filebuf::open() and filebuf::close() including // the non-portable functionality in the libstdc++-v3 IO library +// { dg-require-fileio "" } + #include <fstream> #include <unistd.h> #include <signal.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/3.cc index 07e584a49a3..ef7a6715c01 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/3.cc @@ -23,6 +23,8 @@ // various tests for filebuf::open() and filebuf::close() including // the non-portable functionality in the libstdc++-v3 IO library +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc index 4cec2267d76..209890dfaad 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc index e278ce0a3a4..536e4da8de3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/2.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9169.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9169.cc index 03709c12695..45db964a419 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9169.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9169.cc @@ -20,6 +20,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/overflow/char/9182-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc index add450d3b0d..efedbf738f3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc @@ -20,6 +20,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/overflow/char/9988.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9988.cc index 87951db6f7e..8ac38cfa190 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9988.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/char/9988.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc index f37ff707fda..d00241c2ac5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc index 13bf0ed53e8..d1f0b991dd3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc index 20f89db25c8..e0ec49c5fe5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc index 40c9d3aacc5..6b13409310e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc index 0ca3b677543..e5606920ba0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc index cfaa16ccbee..732ac849bef 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-1.cc index 3bb00013d59..ecbeeb7f1c0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-1.cc @@ -18,6 +18,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/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-2.cc index d64a83350a2..f27a839953a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-2.cc @@ -18,6 +18,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/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-3.cc index 67df965ce82..6ee2b33850a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-3.cc @@ -18,6 +18,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/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-4.cc index f3e435b5f7e..30ae7ae9912 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/12790-4.cc @@ -18,6 +18,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/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc index b55aee5490c..dc753e83c45 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc index 13d29eb8eca..f175fceb477 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc index 149adfda4b8..3a60b4bf8d7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/11543.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/11543.cc index 18c79d6ddeb..e66a1e1c847 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/11543.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/11543.cc @@ -19,6 +19,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/char/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc index 03d4b3a0c33..e494c7d6d8c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc @@ -18,6 +18,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/char/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc index 459e12f87c8..bcd32eb5c62 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc @@ -18,6 +18,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/char/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc index f74a6eec9f4..1b2ff50fa8b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc @@ -18,6 +18,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/char/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc index 141c97090e0..8e7fbb46182 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc @@ -18,6 +18,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/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc index ab47d5b4d77..9c3fd2a980c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc index 76bafa713c9..4c5eaaca00a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc index bba9412a730..1616992517a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc index 92e8d1d962f..22e5da81812 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc @@ -20,6 +20,8 @@ // 27.7.1.3 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc index 20342f42edf..38f25bedaff 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc @@ -20,6 +20,8 @@ // 27.7.1.3 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc index 79524c6cb79..f8d2531f625 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc @@ -20,6 +20,8 @@ // 27.7.1.3 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-1.cc index 14381f9d590..7b0260941fd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-1.cc @@ -18,6 +18,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/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-2.cc index bd3a55054c2..128b668d9dc 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-2.cc @@ -18,6 +18,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/12790-3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-3.cc index 461944a31a0..7f0892512db 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/12790-3.cc @@ -18,6 +18,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/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc index bac71052f5f..7708045ab3a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc index 562868e790d..39bcfc57426 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc index 7cd6a382b52..604924becc2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc index dab22e49e78..27d5c16c510 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc @@ -18,6 +18,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/char/12790-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc index 22bd9896d7c..8fcfa8d72f3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc @@ -18,6 +18,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/char/12790-4.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc index a491e8cd098..b8afee46bb7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc @@ -18,6 +18,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/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc index d6de74099c7..0a7b8b85e66 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc index 04317577784..b7dc3ae54b2 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc index fcdad6217c2..8bbcd6737d3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc index 9b131720e31..e0097ae9e91 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc @@ -20,6 +20,8 @@ // 27.7.1.3 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc index df8805513a8..5758f6271bd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc @@ -20,6 +20,8 @@ // 27.7.1.3 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc index d6d9ea8e4aa..e1adb064682 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc @@ -20,6 +20,8 @@ // 27.7.1.3 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/1.cc index eb028f5c2f9..4a755b29a19 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/1.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc index ecd845ed763..dcad84767e4 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc @@ -18,6 +18,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <cstdio> #include <cstring> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc index 22205381f3f..87e1d5cbbcd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc @@ -18,6 +18,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <cstdio> #include <cstring> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc index 33e673338b3..f69d24c9446 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/2.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc index 61dfd115c3f..1bb1a7aa70c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/3.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc index e89f2548596..1e09e3bafd1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc index 19403762934..4a5fcd7c5ed 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc index 53442a46afb..6769cafd033 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc index 536b0489afa..bc1375b279a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc index 1f9fe52e616..3d125621513 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc index ace01a8c69f..64db9758472 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc @@ -24,6 +24,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc index 79f0a66b9c6..74ebfd2a031 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc @@ -24,6 +24,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc index 6bc69612221..0e62e439e34 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc @@ -24,6 +24,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc index d9b2728bac6..89c11882ffe 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc @@ -24,6 +24,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc index aec6bda7d70..c33d14c6d3b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-in.cc index 6c05b4d6532..0db502ad881 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-io.cc index 86fc89caf5b..cce68f0f244 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-in.cc index 7064f55ad7e..204962ed421 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-io.cc index 2abd714bcfb..a5cd61e019e 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/2-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc index eb6d64e167c..5574e2f53b3 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc index 5725c93d87d..2447da6746d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc index 8724f62d3d2..d517cfb5375 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc index 3b0f8193a34..245fcf3498f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-io.cc index 1f4c311cd4e..eb602b84267 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-out.cc index cf35c744c8a..c203f3c4fc1 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/1-out.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-io.cc index 25e3f6ed0f2..e2d28b9499d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-out.cc index e912c85260f..2aa91a7c314 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputc/char/2-out.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc index 8781c50af1c..9711d21162a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-out.cc index 4a0a8a8cede..871f4b54309 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-out.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-io.cc index 0dfe0ed285f..5fba10fb798 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-out.cc index 375585270e7..3816499d3ef 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/2-out.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9339.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9339.cc index e4bdbdf7f4c..45598afc97c 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9339.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/9339.cc @@ -16,6 +16,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc index 75ec18c9ff9..c668aaca941 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc index 9d4382a39c6..04bb4c34f56 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc index ed54713312b..c853fe707f0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc index a44d10ffba0..cf1d7a3bb8f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> #include <testsuite_io.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/9182-1.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/9182-1.cc index a603ca2867f..330b7481573 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/9182-1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sync/char/9182-1.cc @@ -20,6 +20,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/underflow/10096.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/10096.cc index 047cdce2ca1..5eb06e620f7 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/10096.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/10096.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <string> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/2.cc index c104943632d..66d76c06a5d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/underflow/char/2.cc @@ -20,6 +20,8 @@ // 27.8.1.4 Overridden virtual functions +// { dg-require-fileio "" } + #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/1.cc index c925a9802aa..5a928c1e785 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/cons/char/1.cc @@ -20,6 +20,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_ifstream/open/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/1.cc index d2870151791..ba4798a5c77 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ifstream/open/char/1.cc @@ -20,6 +20,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/extractors_character/char/4.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc index be2831df074..95f22894cb5 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_character/char/4.cc @@ -20,6 +20,8 @@ // 27.6.1.2.3 basic_istream::operator>> +// { dg-require-fileio "" } + #include <istream> #include <string> #include <fstream> diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/2.cc index eac90fe1fe1..245bf95564b 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/2.cc @@ -22,6 +22,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/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/get/char/2.cc index ff3ff13fb55..3ada723de49 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/get/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/get/char/2.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/getline/char/5.cc b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/5.cc index 1e57c0bd237..272bc403103 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/5.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/getline/char/5.cc @@ -18,6 +18,8 @@ // 27.6.1.3 unformatted input functions +// { dg-require-fileio "" } + #include <istream> #include <string> #include <fstream> diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/2.cc index 9aa78a7e113..b51149be058 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/2.cc @@ -18,6 +18,8 @@ // 27.6.1.3 unformatted input functions +// { dg-require-fileio "" } + #include <istream> #include <string> #include <fstream> diff --git a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/3.cc index bcd4a4db546..e8fd0f52ae8 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/ignore/char/3.cc @@ -22,6 +22,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/readsome/char/6746-2.cc b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-2.cc index 2f90578d663..6cc5f0381db 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/readsome/char/6746-2.cc @@ -26,6 +26,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/seekg/char/fstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/fstream.cc index d2c6eaea513..b3c92230fba 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/fstream.cc @@ -23,6 +23,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/seekg/char/sstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/sstream.cc index bde01c3c96a..30a848c89ef 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/sstream.cc @@ -23,6 +23,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/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/1.cc index d92d8acdad0..c087352f491 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/1.cc @@ -23,6 +23,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/char/fstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/fstream.cc index 2f64fcf1050..7f14c7359ab 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/fstream.cc @@ -23,6 +23,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/char/sstream.cc b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/sstream.cc index f27cfd2c6b8..dc2860b86ba 100644 --- a/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/sstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_istream/tellg/char/sstream.cc @@ -23,6 +23,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/char/2.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/2.cc index 6ce60ac8467..106639c16de 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/cons/char/2.cc @@ -20,6 +20,8 @@ // @require@ %-*.tst // @diff@ %-*.tst %-*.txt +// { dg-require-fileio "" } + #include <ostream> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/1.cc index 978c633b07d..9deecd09b3d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ofstream/open/char/1.cc @@ -20,6 +20,8 @@ // @require@ %-*.tst // @diff@ %-*.tst %-*.txt +// { dg-require-fileio "" } + #include <ostream> #include <fstream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc index f15e3a12a2d..95c1e31e4ad 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/1.cc @@ -23,6 +23,8 @@ // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt +// { dg-require-fileio "" } + #include <ostream> #include <sstream> #include <fstream> diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc index 7ae0a55d7de..b70848f61ae 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc @@ -23,6 +23,8 @@ // @require@ %-*.tst %-*.txt // @diff@ %-*.tst %-*.txt +// { dg-require-fileio "" } + #include <ostream> #include <istream> #include <fstream> diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/1.cc index d6f7be727ec..0fc99ebced0 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/tellp/char/1.cc @@ -20,6 +20,8 @@ // 27.6.2.4 basic_ostream seek members +// { dg-require-fileio "" } + #include <ostream> #include <sstream> #include <fstream> diff --git a/libstdc++-v3/testsuite/27_io/objects/char/10.cc b/libstdc++-v3/testsuite/27_io/objects/char/10.cc index 0c02ccf6727..8b43e2280fc 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/10.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/10.cc @@ -18,6 +18,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <iostream> #include <cstdio> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc b/libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc index 70799b24a87..6e18e580b32 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc @@ -19,6 +19,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <iostream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/objects/char/12048-2.cc b/libstdc++-v3/testsuite/27_io/objects/char/12048-2.cc index 9bc75112b47..c97d3e7f930 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/12048-2.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/12048-2.cc @@ -16,6 +16,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <iostream> #include <cstdio> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/objects/char/12048-3.cc b/libstdc++-v3/testsuite/27_io/objects/char/12048-3.cc index 2232c1802ff..75b4eaa5f17 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/12048-3.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/12048-3.cc @@ -16,6 +16,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <iostream> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/objects/char/12048-4.cc b/libstdc++-v3/testsuite/27_io/objects/char/12048-4.cc index d19d02728bf..66a8a3b3268 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/12048-4.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/12048-4.cc @@ -16,6 +16,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <iostream> #include <cstdio> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/27_io/objects/char/12048-5.cc b/libstdc++-v3/testsuite/27_io/objects/char/12048-5.cc index 3a230931825..2184aa23b09 100644 --- a/libstdc++-v3/testsuite/27_io/objects/char/12048-5.cc +++ b/libstdc++-v3/testsuite/27_io/objects/char/12048-5.cc @@ -23,6 +23,8 @@ // equivalent and interchangable. Currently however, cin.rdbuf()->sungetc() // only returns characters that were read with cin.rdbuf()->sbumpc() +// { dg-require-fileio "" } + // { dg-do run { xfail *-*-* } } #include <iostream> diff --git a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-1.cc b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-1.cc index 82539a794d9..1c448311047 100644 --- a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-1.cc +++ b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-1.cc @@ -16,6 +16,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <cstdio> #include <fstream> #include <ext/stdio_filebuf.h> diff --git a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-2.cc b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-2.cc index 290efda0054..b1fafec0ba0 100644 --- a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-2.cc +++ b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-2.cc @@ -20,6 +20,8 @@ // causes "sbumpc" to return an incorrect value. // { dg-do run { xfail arm*-*-elf arm*-*-eabi } } +// { dg-require-fileio "" } + #include <cstdio> #include <fstream> #include <ext/stdio_filebuf.h> diff --git a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-3.cc b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-3.cc index 2a44bd5796b..bd8cd96a2ea 100644 --- a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-3.cc +++ b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/10063-3.cc @@ -20,6 +20,8 @@ // causes "sbumpc" to return an incorrect value. // { dg-do run { xfail arm*-*-elf arm*-*-eabi } } +// { dg-require-fileio "" } + #include <cstdio> #include <fstream> #include <ext/stdio_sync_filebuf.h> diff --git a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc index f78f22bc390..8ac0dc8a742 100644 --- a/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc +++ b/libstdc++-v3/testsuite/ext/stdio_filebuf/char/2.cc @@ -20,6 +20,8 @@ // stdio_filebuf.h +// { dg-require-fileio "" } + #include <ext/stdio_filebuf.h> #include <cstdio> #include <fstream> diff --git a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc index f7961d0289e..41f5acca5d5 100644 --- a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc +++ b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/1.cc @@ -18,6 +18,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <ext/stdio_sync_filebuf.h> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-1.cc b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-1.cc index d1929da64a6..a4998ee3128 100644 --- a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-1.cc +++ b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-1.cc @@ -18,6 +18,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <ext/stdio_sync_filebuf.h> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-2.cc b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-2.cc index c1d53d70e31..58b28a79c01 100644 --- a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-2.cc +++ b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-2.cc @@ -18,6 +18,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <ext/stdio_sync_filebuf.h> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-3.cc b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-3.cc index 42c646a0de2..3d03ade9b53 100644 --- a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-3.cc +++ b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-3.cc @@ -18,6 +18,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <ext/stdio_sync_filebuf.h> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-4.cc b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-4.cc index 1318c73ee82..0717bcabc9c 100644 --- a/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-4.cc +++ b/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/char/12048-4.cc @@ -18,6 +18,8 @@ // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, // USA. +// { dg-require-fileio "" } + #include <ext/stdio_sync_filebuf.h> #include <testsuite_hooks.h> diff --git a/libstdc++-v3/testsuite/lib/dg-options.exp b/libstdc++-v3/testsuite/lib/dg-options.exp index e8e740492fb..ccc3fb69e31 100644 --- a/libstdc++-v3/testsuite/lib/dg-options.exp +++ b/libstdc++-v3/testsuite/lib/dg-options.exp @@ -26,6 +26,24 @@ proc dg-require-namedlocale { args } { return } +proc dg-require-fileio { args } { + if { ![ check_v3_target_fileio ] } { + upvar dg-do-what dg-do-what + set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"] + return + } + return +} + +proc dg-require-time { args } { + if { ![ check_v3_target_time ] } { + upvar dg-do-what dg-do-what + set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"] + return + } + return +} + proc dg-require-sharedlib { args } { if { ![ check_v3_target_sharedlib ] } { upvar dg-do-what dg-do-what diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index f69481a11ef..bd79f4bfbc2 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -495,11 +495,138 @@ proc v3-build_support { } { } } +proc check_v3_target_fileio { } { + global et_fileio_saved + global et_fileio_target_name + global tool + + if { ![info exists et_fileio_target_name] } { + set et_fileio_target_name "" + } + + # If the target has changed since we set the cached value, clear it. + set current_target [current_target_name] + if { $current_target != $et_fileio_target_name } { + verbose "check_v3_target_fileio: `$et_fileio_target_name'" 2 + set et_fileio_target_name $current_target + if [info exists et_fileio_saved] { + verbose "check_v3_target_fileio: removing cached result" 2 + unset et_fileio_saved + } + } + + if [info exists et_fileio_saved] { + verbose "check_v3_target_fileio: using cached result" 2 + } else { + set et_fileio_saved 0 + + # Set up, compile, and execute a C++ test program that tries to use + # the file functions + set src fileio[pid].cc + set exe fileio[pid].x + + set f [open $src "w"] + puts $f "#include <sys/types.h>" + puts $f "#include <sys/stat.h>" + puts $f "#include <fcntl.h>" + puts $f "#include <unistd.h>" + puts $f "#include <errno.h>" + puts $f "using namespace std;" + puts $f "int main ()" + puts $f "{" + puts $f " int fd = open (\".\", O_RDONLY);" + puts $f " if (fd == -1)" + puts $f " {" + puts $f " int err = errno;" + puts $f " if (err == EIO || err == ENOSYS)" + puts $f " return 1;" + puts $f " }" + puts $f " else" + puts $f " close (fd);" + puts $f " return 0;" + puts $f "}" + close $f + + set lines [v3_target_compile $src $exe executable ""] + file delete $src + + if [string match "" $lines] { + # No error message, compilation succeeded. + set result [${tool}_load "./$exe" "" ""] + set status [lindex $result 0] + remote_file build delete $exe + + verbose "check_v3_target_fileio: status is <$status>" 2 + + if { $status == "pass" } { + set et_fileio_saved 1 + } + } else { + verbose "check_v3_target_fileio: compilation failed" 2 + } + } + return $et_fileio_saved +} + proc check_v3_target_sharedlib { } { global v3-sharedlib return ${v3-sharedlib} } +proc check_v3_target_time { } { + global et_time_saved + global et_time_target_name + global tool + + if { ![info exists et_time_target_name] } { + set et_time_target_name "" + } + + # If the target has changed since we set the cached value, clear it. + set current_target [current_target_name] + if { $current_target != $et_time_target_name } { + verbose "check_v3_target_time: `$et_time_target_name'" 2 + set et_time_target_name $current_target + if [info exists et_time_saved] { + verbose "check_v3_target_time: removing cached result" 2 + unset et_time_saved + } + } + + if [info exists et_time_saved] { + verbose "check_v3_target_time: using cached result" 2 + } else { + set et_time_saved 0 + + # Set up and compile a C++ test program that tries to use + # the time function + set src time[pid].cc + set exe time[pid].x + + set f [open $src "w"] + puts $f "#include <time.h>" + puts $f "using namespace std;" + puts $f "int main ()" + puts $f "{" + puts $f " time (0);" + puts $f "}" + close $f + + set lines [v3_target_compile $src $exe executable ""] + file delete $src + + if [string match "" $lines] { + # No error message, compilation succeeded. + verbose "check_v3_target_time: compilation succeeded" 2 + remote_file build delete $exe + set et_time_saved 1 + } else { + verbose "check_v3_target_time: compilation failed" 2 + } + } + return $et_time_saved +} + proc check_v3_target_namedlocale { } { global et_namedlocale_saved global et_namedlocale_target_name |