public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc r11-6075] libstdc++: Fix required locales of a testcase
Date: Tue, 15 Dec 2020 11:46:05 +0000 (GMT)	[thread overview]
Message-ID: <20201215114605.796CD386EC25@sourceware.org> (raw)

https://gcc.gnu.org/g:7640db57113e7a0df9257fa780c8e9deae63a7a2

commit r11-6075-g7640db57113e7a0df9257fa780c8e9deae63a7a2
Author: Marius Hillenbrand <mhillen@linux.ibm.com>
Date:   Tue Dec 15 11:40:07 2020 +0000

    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.

Diff:
---
 libstdc++-v3/testsuite/22_locale/locale/cons/5.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/5.cc
index 8fd73960abb..49e863ec85c 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>


                 reply	other threads:[~2020-12-15 11:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201215114605.796CD386EC25@sourceware.org \
    --to=redi@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    --cc=libstdc++-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).