From patchwork Fri Jan 14 11:41:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 1579990 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=UA4JFK6p; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JZztj0Bpzz9sXM for ; Fri, 14 Jan 2022 22:42:35 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B33E93836416 for ; Fri, 14 Jan 2022 11:42:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B33E93836416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1642160551; bh=PfN1LDCFubtGRuckbKwIL1TNJQ50v1ZxAKywUT757NU=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=UA4JFK6p7CIrZxkyAdXkb1Bpw0p4r2+M/nNxKc6vlCPaExZdsrIYw5rI7+7q2aEuq 0yfkofpRTJuDm8O7i1HFQxY8qGdyUzuKFSJ9gOgcIOdfpSvl4yby5IQ0fXsVd8wzbT tEACkvdr0F56Y8dsYrgSqBu5lLv2g90qBFLAu85Q= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) by sourceware.org (Postfix) with ESMTPS id CBE303858C39; Fri, 14 Jan 2022 11:41:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CBE303858C39 Received: by mail-qk1-x72a.google.com with SMTP id h16so10593039qkp.3; Fri, 14 Jan 2022 03:41:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PfN1LDCFubtGRuckbKwIL1TNJQ50v1ZxAKywUT757NU=; b=btakh+73v6+LD4ZzfClu8lSsze5tlAOx2OSebMF5u8hgfVXMriQRiC01OHWlZp5a5e yWJH+KhShOjIw5KLR2txkRF60geERZprmdK5Zf416L4E27UmoGAJmKXDmCzwE886npGE yz8DuYEyt1obZXRwkjjTj9tA2wc+P17GMcmILBtgkmEBABpo26wihicWwBH2TFhPZki0 DK4D1YkP2nmq6lHFXKunJYBQCjDxlsqYXNQQkUaXGckNcnptVr62xKhBlSPwsCCS4DG9 UgirCj+a/RAQt39SEzEeKtC8gQ9aGlUPEKnV8E9vxMB4Jvs7tjJUk5W94tBHIFaRA2vz 7Hcg== X-Gm-Message-State: AOAM530qvW3a85NH7Ioc9P43KRg5cdnNcPnIfXNjdszrA3SMDs6vZwwa slJ0fpKKr/d4ffeuf9+kHs0FjxC3rvUO67bBZ1+RUwukD5OtHg== X-Google-Smtp-Source: ABdhPJwzvd621eiTGcLn5CH9oUZ5Zjv3VHmBLU8vZh5hNK3SPxRz0cFl2wUDZMCp0Od/9/WgzPyLzTsg7D49fayZBeo= X-Received: by 2002:a37:5583:: with SMTP id j125mr6069177qkb.674.1642160478105; Fri, 14 Jan 2022 03:41:18 -0800 (PST) MIME-Version: 1.0 Date: Fri, 14 Jan 2022 12:41:06 +0100 Message-ID: Subject: [PATCH] libstdc++: Fix 22_locale/numpunct/members/char/3.cc execution test To: "gcc-patches@gcc.gnu.org" , "libstdc++" X-Spam-Status: No, score=-8.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Uros Bizjak via Gcc-patches From: Uros Bizjak Reply-To: Uros Bizjak Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" 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 (test02): Use pt_PT locale instead of nl_NL. Tested on x86_64-linux-gnu (Fedora 33). OK for master? Uros. 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..4cf4b24407d 100644 --- a/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc +++ b/libstdc++-v3/testsuite/22_locale/numpunct/members/char/3.cc @@ -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);