summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-26 10:33:30 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-26 10:33:30 +0000
commit201546ba81756cfce8fc3f9a46bdf65795d285b5 (patch)
tree214bdce0f9241447ec656dac370be34395afee9e /libstdc++-v3
parent3201d6f1b7aabd305c6084cd9ed18a32c40739d9 (diff)
downloadgcc-201546ba81756cfce8fc3f9a46bdf65795d285b5.tar.gz
2003-10-26 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/money_put/put/char/1.cc: Clean up. * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72949 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog63
-rw-r--r--libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc17
-rw-r--r--libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc17
3 files changed, 40 insertions, 57 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 387d20259ff..a1ef2daa3d5 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-26 Paolo Carlini <pcarlini@suse.de>
+
+ * testsuite/22_locale/money_put/put/char/1.cc: Clean up.
+ * testsuite/22_locale/money_put/put/wchar_t/1.cc: Ditto.
+
2003-10-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get::_M_extract_int):
@@ -289,35 +294,35 @@
* testsuite/27_io/types/3.cc: New test.
2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
-
- * configure.host: Remove fpos_include_dir.
- * configure.ac: Remove FPOS_INC_SRCDIR.
- * configure: Regenerate.
- * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
- * aclocal.m4: Regenerate.
- * include/Makefile.am (host_headers): Remove fpos.h.
- (bits_headers): Add postypes.h.
- * include/Makefile.in: Regenerate.
- * config/os/gnu-linux/fposh: Remove.
- * config/os/generic/fpos.h: Remove.
-
- * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
- * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
- * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
- * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
- * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
- * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
- * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
- * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
- * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
- * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
- * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
- * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
- * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
- * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
- * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
- * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
- * testsuite/27_io/objects/char/10.cc: Same.
+
+ * configure.host: Remove fpos_include_dir.
+ * configure.ac: Remove FPOS_INC_SRCDIR.
+ * configure: Regenerate.
+ * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
+ * aclocal.m4: Regenerate.
+ * include/Makefile.am (host_headers): Remove fpos.h.
+ (bits_headers): Add postypes.h.
+ * include/Makefile.in: Regenerate.
+ * config/os/gnu-linux/fposh: Remove.
+ * config/os/generic/fpos.h: Remove.
+
+ * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
+ * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
+ * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
+ * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
+ * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
+ * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
+ * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
+ * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
+ * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
+ * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
+ * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
+ * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
+ * testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
+ * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
+ * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
+ * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
+ * testsuite/27_io/objects/char/10.cc: Same.
2003-10-16 Paolo Carlini <pcarlini@suse.de>
diff --git a/libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc b/libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc
index 2692bb4d196..bba61451989 100644
--- a/libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc
+++ b/libstdc++-v3/testsuite/22_locale/money_put/put/char/1.cc
@@ -36,13 +36,8 @@ void test01()
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
- VERIFY( loc_hk != loc_fr );
- VERIFY( loc_hk != loc_de );
- VERIFY( loc_de != loc_fr );
// cache the moneypunct facets
typedef moneypunct<char, true> __money_true;
@@ -54,14 +49,8 @@ void test01()
// total EPA budget FY 2002
const string digits1("720000000000");
- // est. cost, national missile "defense", expressed as a loss in USD 2001
- const string digits2("-10000000000000");
-
- // not valid input
- const string digits3("-A");
-
// input less than frac_digits
- const string digits4("-1");
+ const string digits2("-1");
// cache the money_put facet
ostringstream oss;
@@ -104,14 +93,14 @@ void test01()
// test various fill strategies
oss.str(empty);
oss.width(20);
- iterator_type os_it10 = mon_put.put(oss.rdbuf(), true, oss, '*', digits4);
+ iterator_type os_it10 = mon_put.put(oss.rdbuf(), true, oss, '*', digits2);
string result10 = oss.str();
VERIFY( result10 == "***************-,01*");
oss.str(empty);
oss.width(20);
oss.setf(ios_base::internal);
- iterator_type os_it11 = mon_put.put(oss.rdbuf(), true, oss, '*', digits4);
+ iterator_type os_it11 = mon_put.put(oss.rdbuf(), true, oss, '*', digits2);
string result11 = oss.str();
VERIFY( result11 == "-,01****************");
}
diff --git a/libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc
index f8f97fa691a..a025d372edc 100644
--- a/libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc
+++ b/libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/1.cc
@@ -36,13 +36,8 @@ void test01()
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
- VERIFY( loc_hk != loc_fr );
- VERIFY( loc_hk != loc_de );
- VERIFY( loc_de != loc_fr );
// cache the moneypunct facets
typedef moneypunct<wchar_t, true> __money_true;
@@ -54,14 +49,8 @@ void test01()
// total EPA budget FY 2002
const wstring digits1(L"720000000000");
- // est. cost, national missile "defense", expressed as a loss in USD 2001
- const wstring digits2(L"-10000000000000");
-
- // not valid input
- const wstring digits3(L"-A");
-
// input less than frac_digits
- const wstring digits4(L"-1");
+ const wstring digits2(L"-1");
// cache the money_put facet
wostringstream oss;
@@ -104,14 +93,14 @@ void test01()
// test various fill strategies
oss.str(empty);
oss.width(20);
- iterator_type os_it10 = mon_put.put(oss.rdbuf(), true, oss, '*', digits4);
+ iterator_type os_it10 = mon_put.put(oss.rdbuf(), true, oss, '*', digits2);
wstring result10 = oss.str();
VERIFY( result10 == L"***************-,01*");
oss.str(empty);
oss.width(20);
oss.setf(ios_base::internal);
- iterator_type os_it11 = mon_put.put(oss.rdbuf(), true, oss, '*', digits4);
+ iterator_type os_it11 = mon_put.put(oss.rdbuf(), true, oss, '*', digits2);
wstring result11 = oss.str();
VERIFY( result11 == L"-,01****************");
}