gcc/libstdc++-v3/testsuite
Benjamin Kosnik 127644626f fstream.tcc: Add bool parameter to filebuf ctor.
2001-04-03  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
	* include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
	_M_cerr, _M_wcout, _M_wcin, _M_wcerr.
	(ios_base::Init::_S_ios_create): New.
	(ios_base::Init::_S_ios_destroy): New.
	* include/bits/std_fstream.h: Change ctor args.
	* src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
	(ios_base::Init::~Init): Use _S_ios_destroy.
	(ios_base::sync_with_stdio): Use new members.
	* testsuite/27_io/filebuf_members.cc: Fix calling conventions for
	filebuf ctor.

From-SVN: r41072
2001-04-04 01:02:26 +00:00
..
17_intro std_cerrno.h: Don't define errno in std::. 2001-03-06 23:32:59 +00:00
18_support debug_assert.h: new file 2000-08-14 19:59:26 +00:00
19_diagnostics std_stdexcept.h (runtime_error): Make string member non-const. 2001-02-27 23:00:35 +00:00
20_util auto_ptr.cc (test07): Remove test that tries to copy-initialize an auto_ptr<Base> from an... 2000-12-10 06:23:50 -05:00
21_strings std_cstring.h: Fix for const-correctness. 2001-04-02 22:01:52 +00:00
22_locale Preliminary named locales. 2001-01-30 09:18:51 +00:00
23_containers [multiple changes] 2001-03-30 08:14:15 +00:00
24_iterators debug_assert.h: new file 2000-08-14 19:59:26 +00:00
25_algorithms acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web... 2000-12-21 22:08:39 +00:00
26_numerics std_complex.h: Tweaks, include cmath for abs overloads. 2000-11-20 21:13:45 +00:00
27_io fstream.tcc: Add bool parameter to filebuf ctor. 2001-04-04 01:02:26 +00:00
config [multiple changes] 2001-03-30 08:14:15 +00:00
ext [multiple changes] 2001-03-31 20:15:43 +00:00
lib libstdc++.exp (dg-test): Annotate result messages with $which_library as well as $tool_flags and... 2001-04-02 23:40:01 +00:00
libstdc++.tests [multiple changes] 2001-03-30 08:14:15 +00:00
Makefile.am [multiple changes] 2001-03-30 08:14:15 +00:00
Makefile.in New concept checking implementation. 2001-04-03 00:26:58 +00:00
README README: Add more comment. 2001-01-28 15:13:08 +00:00
debug_assert.h debug_assert.h: new file 2000-08-14 20:56:06 +00:00
printnow.c

README

We're in the process of converting the existing testsuite machinery to
use the new style DejaGnu framework.  Eventually, we'll abandon
../mkcheck.in in favor of this new testsuite framework.  

  Basically, a testcase contains dg-keywords (see dg.exp) indicating
what to do and what kinds of behaviour are to be expected.  New
testcases should be written with the new style DejaGnu framework in mind.

  The V3 testing framework supports additional keywords for the purpose
of easing the job of writing testcases.  All V3-keywords are of the
form @xxx@.  Currently supported keywords include:

  @require@ <files>
      The existence of <files> is essential for the test to complete
      successfully.  For example, a testcase foo.C using bar.baz as
      input file could say
	    // @require@ bar.baz
      The special variable % stands for the rootname, e.g. the
      file-name without its `.C' extension.  Example of use (taken
      verbatim from 27_io/filebuf.cc)
	   // @require@ %-*.tst %-*.txt

  @diff@ <first-list> <second-list>
      After the testcase compiles and ran successfully, diff
      <first-list> against <second-list>, these lists should have the
      same length.  The test fails if diff returns non-zero a pair of
      files.

-- Gaby