From: Uros Bizjak Date: Fri, 14 Jan 2022 15:21:02 +0000 (+0100) Subject: libstdc++: Fix 22_locale/numpunct/members/char/3.cc execution test X-Git-Tag: basepoints/gcc-13~1724 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6795e6ae66096d52a62e20ed33a47599233ab3d5;p=thirdparty%2Fgcc.git 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 --git a/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc b/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc index 6e4959860cd0..19b65d36e881 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);