127644626f
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 |
||
---|---|---|
.. | ||
17_intro | ||
18_support | ||
19_diagnostics | ||
20_util | ||
21_strings | ||
22_locale | ||
23_containers | ||
24_iterators | ||
25_algorithms | ||
26_numerics | ||
27_io | ||
config | ||
ext | ||
lib | ||
libstdc++.tests | ||
debug_assert.h | ||
Makefile.am | ||
Makefile.in | ||
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