[PATCH] Enable four 27_io tests (was: Re: Untested testcases?!?)

Paolo Carlini pcarlini@unitus.it
Tue Jan 22 17:00:00 GMT 2002


Benjamin Kosnik wrote:

> > Just a couple of examples: test03 in ostream_inserter_arith.cc, test04 in
> > ostream_inserter_other.cc. In case, I can provide a complete list.
>
> Please do. If you want, just patch the files.

Ok.

I started with 27_io, found 4 untested tests, enabled them and rebuild/regression
tested. No new failures (fiuuu!). Patch below. Ok?

Cheers,
Paolo.

//////////////

2002-01-22  Paolo Carlini  <pcarlini@unitus.it>

        * testsuite/27_io/ios_manip_basefield.cc: Enable test02.
        * testsuite/27_io/ostream_inserter_arith.cc: Enable test03.
        * testsuite/27_io/ostream_inserter_char.cc: Enable test01.
        * testsuite/27_io/ostream_inserter_other.cc: Enable test04.

diff -urN libstdc++-v3-orig/testsuite/27_io/ios_manip_basefield.cc
libstdc++-v3/testsuite/27_io/ios_manip_basefield.cc
--- libstdc++-v3-orig/testsuite/27_io/ios_manip_basefield.cc Wed Jan 16 20:57:38
2002
+++ libstdc++-v3/testsuite/27_io/ios_manip_basefield.cc Wed Jan 23 00:38:18 2002
@@ -103,6 +103,7 @@
 int
 main() {
   test01();
+  test02();
   return 0;
 }

diff -urN libstdc++-v3-orig/testsuite/27_io/ostream_inserter_arith.cc
libstdc++-v3/testsuite/27_io/ostream_inserter_arith.cc
--- libstdc++-v3-orig/testsuite/27_io/ostream_inserter_arith.cc Wed Dec  5 23:07:36
2001
+++ libstdc++-v3/testsuite/27_io/ostream_inserter_arith.cc Wed Jan 23 00:42:38 2002
@@ -351,6 +351,7 @@
 {
   test01();
   test02();
+  test03();
   test04();
 #ifdef TEST_NUMPUT_VERBOSE
   cout << "Test passed!" << endl;
diff -urN libstdc++-v3-orig/testsuite/27_io/ostream_inserter_char.cc
libstdc++-v3/testsuite/27_io/ostream_inserter_char.cc
--- libstdc++-v3-orig/testsuite/27_io/ostream_inserter_char.cc Tue Aug  7 05:38:33
2001
+++ libstdc++-v3/testsuite/27_io/ostream_inserter_char.cc Wed Jan 23 00:45:17 2002
@@ -258,7 +258,7 @@

 int main()
 {
-
+  test01();
   test02();
   test03();
   test04();
diff -urN libstdc++-v3-orig/testsuite/27_io/ostream_inserter_other.cc
libstdc++-v3/testsuite/27_io/ostream_inserter_other.cc
--- libstdc++-v3-orig/testsuite/27_io/ostream_inserter_other.cc Tue Aug  7 05:38:33
2001
+++ libstdc++-v3/testsuite/27_io/ostream_inserter_other.cc Wed Jan 23 00:45:43 2002
@@ -155,6 +155,7 @@
   test01();
   test02();
   test03();
+  test04();

   return 0;
 }




More information about the Libstdc++ mailing list