aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/22_locale
diff options
context:
space:
mode:
authorMarius Hillenbrand <mhillen@linux.ibm.com>2020-12-15 11:40:07 +0000
committerJonathan Wakely <jwakely@redhat.com>2020-12-15 11:45:27 +0000
commit7640db57113e7a0df9257fa780c8e9deae63a7a2 (patch)
tree407ef16bfd112d1843acd7e05235aae4efafdef9 /libstdc++-v3/testsuite/22_locale
parentfa452a843d26a64a5ca0fd7c17ea1bd6e1b81a69 (diff)
downloadgcc-7640db57113e7a0df9257fa780c8e9deae63a7a2.zip
gcc-7640db57113e7a0df9257fa780c8e9deae63a7a2.tar.gz
gcc-7640db57113e7a0df9257fa780c8e9deae63a7a2.tar.bz2
libstdc++: Fix required locales of a testcase
The testsuite for libstdc++ aims to skips test cases for which not all required locales are installed. This patch adds missing directives about required locales to one test case to avoid false positive test failures on systems that have a partial set of locales installed. Verified by test suite runs that this patch changes the test case from FAIL to UNSUPPORTED when not all required locales are available and that the test case will run and PASS when the necessary locales have been added. libstdc++-v3/ChangeLog: * testsuite/22_locale/locale/cons/5.cc: Add missing directives for required locales.
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale')
-rw-r--r--libstdc++-v3/testsuite/22_locale/locale/cons/5.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
index 8fd7396..49e863e 100644
--- a/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
+++ b/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
@@ -1,5 +1,7 @@
-// { dg-require-namedlocale "en_PH" }
// { dg-require-namedlocale "de_DE" }
+// { dg-require-namedlocale "en_PH" }
+// { dg-require-namedlocale "es_MX" }
+// { dg-require-namedlocale "fr_FR" }
// { dg-require-namedlocale "it_IT" }
// 2000-09-13 Benjamin Kosnik <bkoz@redhat.com>