Patchwork [libstdc++] : Require additional locale names for two tests

login
register
mail settings
Submitter Uros Bizjak
Date Nov. 23, 2010, 1:03 p.m.
Message ID <AANLkTik4j-h_r+3nefv5rN+acEOa4kxC=+62ZbnX-tXX@mail.gmail.com>
Download mbox | patch
Permalink /patch/72650/
State New
Headers show

Comments

Uros Bizjak - Nov. 23, 2010, 1:03 p.m.
Hello!

Additional locales are required to run these two test. These locales
are inherited from included sources.

2010-11-23  Uros Bizjak  <ubizjak@gmail.com>

	* testsuite/22_locale/collate/hash/char/wrapped_locale.cc: Require
	additional locale name.
	* testsuite/22_locale/collate/hash/char/wrapped_env.cc: Ditto.

OK for mainline SVN?

Uros.
Paolo Carlini - Nov. 23, 2010, 1:28 p.m.
Hi,

> OK for mainline SVN?

Sure, thanks.

Paolo
>

Patch

Index: testsuite/22_locale/collate/hash/char/wrapped_locale.cc
===================================================================
--- testsuite/22_locale/collate/hash/char/wrapped_locale.cc	(revision 167073)
+++ testsuite/22_locale/collate/hash/char/wrapped_locale.cc	(working copy)
@@ -1,3 +1,6 @@ 
+// { dg-require-namedlocale "en_US" }
+// { dg-require-namedlocale "fr_FR" }
+// { dg-require-namedlocale "de_DE" }
 // { dg-require-namedlocale "ja_JP.eucjp" }
 
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>
Index: testsuite/22_locale/collate/hash/char/wrapped_env.cc
===================================================================
--- testsuite/22_locale/collate/hash/char/wrapped_env.cc	(revision 167073)
+++ testsuite/22_locale/collate/hash/char/wrapped_env.cc	(working copy)
@@ -1,3 +1,5 @@ 
+// { dg-require-namedlocale "en_US" }
+// { dg-require-namedlocale "fr_FR" }
 // { dg-require-namedlocale "de_DE" }
 
 // 2001-08-15 Benjamin Kosnik  <bkoz@redhat.com>