From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1363) id 3C56E3858D35; Fri, 14 Jan 2022 15:22:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C56E3858D35 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Uros Bizjak To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-6589] libstdc++: Fix 22_locale/numpunct/members/char/3.cc execution test X-Act-Checkin: gcc X-Git-Author: Uros Bizjak X-Git-Refname: refs/heads/master X-Git-Oldrev: 0dd4283a4be8407a8ab720a913c84a21f3ece615 X-Git-Newrev: 6795e6ae66096d52a62e20ed33a47599233ab3d5 Message-Id: <20220114152208.3C56E3858D35@sourceware.org> Date: Fri, 14 Jan 2022 15:22:08 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2022 15:22:08 -0000 https://gcc.gnu.org/g:6795e6ae66096d52a62e20ed33a47599233ab3d5 commit r12-6589-g6795e6ae66096d52a62e20ed33a47599233ab3d5 Author: Uros Bizjak Date: Fri Jan 14 16:21:02 2022 +0100 libstdc++: Fix 22_locale/numpunct/members/char/3.cc execution test The test fails on Fedora 33+ because nl_NL locale got thousands separator defined. Use one of ar_SA, bg_BG, bs_BA, pt_PT or plain C locale instead. 2022-01-14 Uroš Bizjak libstdc++-v3/ChangeLog: * testsuite/22_locale/numpunct/members/char/3.cc: Require pt_PT locale instead of nl_NL. (test02): Use pt_PT locale instead of nl_NL. Diff: --- libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc b/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc index 6e4959860cd..19b65d36e88 100644 --- a/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc +++ b/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc @@ -1,4 +1,4 @@ -// { dg-require-namedlocale "nl_NL.ISO8859-15" } +// { dg-require-namedlocale "pt_PT.ISO8859-15" } // 2001-01-24 Benjamin Kosnik @@ -28,8 +28,8 @@ void test02() { using namespace std; - // nl_NL chosen because it has no thousands separator (at this time). - locale loc_it = locale(ISO_8859(15,nl_NL)); + // pt_PT chosen because it has no thousands separator (at this time). + locale loc_it = locale(ISO_8859(15,pt_PT)); const numpunct& nump_it = use_facet >(loc_it);