10.cc: Add dg-require-fileio.

2018-08-31  Sandra Loosemore  <sandra@codesourcery.com>

	libstdc++-v3/

	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
	Add dg-require-fileio.
	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
	Likewise.
	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
	Likewise.
	* testsuite/21_strings/basic_string_view/inserters/wchar_t/2.cc:
	Likewise.
	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc:
	Likewise.
	* testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc: Likewise.
	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc: Likewise.
	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise.
	* testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc:
	Likewise.
	* testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
	* testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
	* testsuite/27_io/basic_ifstream/cons/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_ifstream/open/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
	Likewise.
	* testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc:
	Likewise.
	* testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise.
	* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Likewise.
	* testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise.
	* testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise.
	* testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise.
	* testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise.
	* testsuite/27_io/basic_ofstream/cons/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_ofstream/open/wchar_t/1.cc: Likewise.
	* testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc:
	Likewise.
	* testsuite/27_io/objects/wchar_t/10.cc: Likewise.
	* testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
	* testsuite/27_io/objects/wchar_t/12048-2.cc: Likewise.
	* testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
	* testsuite/27_io/objects/wchar_t/12048-4.cc: Likewise.
	* testsuite/27_io/objects/wchar_t/12048-5.cc: Likewise.
	* testsuite/experimental/string_view/inserters/wchar_t/2.cc:
	Likewise.
	* testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.

From-SVN: r264022
This commit is contained in:
Sandra Loosemore 2018-08-31 15:09:47 -04:00 committed by Sandra Loosemore
parent d5481391bc
commit 6cec3c81a7
42 changed files with 128 additions and 0 deletions

View File

@ -1,3 +1,64 @@
2018-08-31 Sandra Loosemore <sandra@codesourcery.com>
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
Add dg-require-fileio.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
Likewise.
* testsuite/21_strings/basic_string_view/inserters/wchar_t/2.cc:
Likewise.
* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc:
Likewise.
* testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc:
Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise.
* testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc:
Likewise.
* testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc:
Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_ifstream/cons/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ifstream/open/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
Likewise.
* testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc:
Likewise.
* testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise.
* testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise.
* testsuite/27_io/basic_ofstream/cons/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ofstream/open/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc:
Likewise.
* testsuite/27_io/objects/wchar_t/10.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-2.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-4.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-5.cc: Likewise.
* testsuite/experimental/string_view/inserters/wchar_t/2.cc:
Likewise.
* testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: Likewise.
2018-08-30 Sandra Loosemore <sandra@codesourcery.com>
* testsuite/experimental/propagate_const/observers/1.cc: Make

View File

@ -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

View File

@ -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

View File

@ -23,6 +23,8 @@
// working, not to mention other major details like char_traits, and
// all of the string class.
// { dg-require-fileio "" }
#include <string>
#include <fstream>
#include <iostream>

View File

@ -1,4 +1,5 @@
// { dg-options "-std=gnu++17" }
// { dg-require-fileio "" }
// Copyright (C) 2013-2018 Free Software Foundation, Inc.
//

View File

@ -17,6 +17,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-require-fileio "" }
#include <iterator>
#include <fstream>
#include <algorithm>

View File

@ -17,6 +17,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-require-fileio "" }
#include <iterator>
#include <fstream>
#include <algorithm>

View File

@ -17,6 +17,8 @@
// 27.8.1.3 filebuf member functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.3 filebuf member functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.3 filebuf member functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.3 filebuf member functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <fstream>
#include <locale>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -17,6 +17,8 @@
// 27.8.1.4 Overridden virtual functions
// { dg-require-fileio "" }
#include <locale>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -1,4 +1,5 @@
// { dg-require-namedlocale "se_NO.UTF-8" }
// { dg-require-fileio "" }
// 2003-09-04 Petur Runolfsson <peturr02@ru.is>

View File

@ -1,4 +1,5 @@
// { dg-require-namedlocale "se_NO.UTF-8" }
// { dg-require-fileio "" }
// 2003-09-04 Petur Runolfsson <peturr02@ru.is>

View File

@ -16,6 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-do run { target *-*-mingw* } }
// { dg-require-fileio "" }
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -18,6 +18,7 @@
// 30.9.3.1 basic_ifstream constructors [ifstream.cons]
// { dg-do run { target *-*-mingw* } }
// { dg-require-fileio "" }
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -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

View File

@ -19,6 +19,8 @@
// @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream>
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -19,6 +19,8 @@
// @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream>
#include <sstream>
#include <fstream>

View File

@ -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

View File

@ -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

View File

@ -19,6 +19,8 @@
// @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream>
#include <fstream>
#include <limits>

View File

@ -22,6 +22,8 @@
// @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream>
#include <sstream>
#include <fstream>

View File

@ -20,6 +20,8 @@
// @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <istream>
#include <sstream>
#include <fstream>

View File

@ -16,6 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-do run { target *-*-mingw* } }
// { dg-require-fileio "" }
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -18,6 +18,7 @@
// 30.9.4.1 basic_ofstream constructors [ofstream.cons]
// { dg-do run { target *-*-mingw* } }
// { dg-require-fileio "" }
#include <fstream>
#include <testsuite_hooks.h>

View File

@ -19,6 +19,8 @@
// @require@ %-*.tst %-*.txt
// @diff@ %-*.tst %-*.txt
// { dg-require-fileio "" }
#include <ostream>
#include <sstream>
#include <fstream>

View File

@ -1,4 +1,5 @@
// { dg-require-namedlocale "se_NO.UTF-8" }
// { dg-require-fileio "" }
// 2003-05-01 Petur Runolfsson <peturr02@ru.is>

View File

@ -18,6 +18,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-require-fileio "" }
#include <iostream>
#include <cstdio>
#include <testsuite_hooks.h>

View File

@ -15,6 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-require-fileio "" }
#include <iostream>
#include <cstdio>
#include <cwchar>

View File

@ -18,6 +18,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-require-fileio "" }
#include <iostream>
#include <cwchar>
#include <cstdio>

View File

@ -15,6 +15,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-require-fileio "" }
#include <iostream>
#include <cstdio>
#include <cwchar>

View File

@ -20,6 +20,7 @@
// only returns characters that were read with cin.rdbuf()->sbumpc()
// { dg-do run { xfail *-*-* } }
// { dg-require-fileio "" }
#include <iostream>
#include <cstdio>

View File

@ -1,4 +1,5 @@
// { dg-do run { target c++14 } }
// { dg-require-fileio "" }
// Copyright (C) 2013-2018 Free Software Foundation, Inc.
//

View File

@ -17,6 +17,8 @@
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
// { dg-require-fileio "" }
#include <ext/stdio_sync_filebuf.h>
#include <cstring>
#include <testsuite_hooks.h>