From patchwork Tue Oct 25 15:15:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Torbjorn SVENSSON X-Patchwork-Id: 10860 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1063046wru; Tue, 25 Oct 2022 08:16:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5y1Vea6THCDlcX7umb1D2m+aLStLfTxUTo3JoVqNclKtW4ypaf9unIyxZdLowclyjgaIYr X-Received: by 2002:a17:906:58c9:b0:7a7:dcba:a987 with SMTP id e9-20020a17090658c900b007a7dcbaa987mr9962789ejs.88.1666710983517; Tue, 25 Oct 2022 08:16:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666710983; cv=none; d=google.com; s=arc-20160816; b=krSHK6S9aKOmi2V97oHR+z1Pn6VkfmYOKJ8A/KQZTMiCbka1B7XM5s7nheacyh1J8T S39BTWkG0wLCRJYeNWITwBlWIeF3YoXQD/YXPzR78VbkU1AS8I138Ysgc6en5olJxZyP b9Cqphpk6qOZeJ65QGe5z8ZITWROhiNR6wQ+xxuNQmdyoy+6bSIy+PRloAANIOkrxs8U Bbfy5tK5y3sKSdSH8N5Ea/WyV+Kt0fQ1pygt58hsyHPAQvVmv+g1PvDMduGn978lpuws 8zz7NQXIfuX9cFmttqF4sDUSIqg6Pj8O9V8VO94Mqn2rsUxD19cRUmZ7OXvv3iSmXwOF whQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=EFJeUJZxsxsc3+29YeW/2YeeTPxGKmAakUfD2LFuBUs=; b=eoYq+e6P5S2rOWT7UjYYe4PZ+N8gfA1Frkz0E2lI3eTlpHwxIa9zmkQV8GScMIO1Nc VcRLben4ZzqhzZx41QdFJDmCRDyPNFG4fOeXCJQ+o0NxNke/Tu0DKdNhreL8o+KUBaOS Wni44+IFnn5rgQf3d1g+TBZPVHK4NGY4YGwEe4PKxCjuHM21I5/SFK/mgqcmBqwYzeal HpQIcj4/h0gb5oLB4zSQgMRlyEp++6oqgxaQw7+kBI8wzd4f14L0/FFA2ub10RraBTsL AurUcXjRu3GVBgTYhrY5uwXCsF+Xs5e5JkWSWF0NuPXAQ/GH26fG03a+aErZYrmQ2jg9 pgQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AhPq5QNt; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id r7-20020a50d687000000b00459039258b2si3042803edi.289.2022.10.25.08.16.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 08:16:23 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AhPq5QNt; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 48308385AC3B for ; Tue, 25 Oct 2022 15:16:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48308385AC3B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666710982; bh=EFJeUJZxsxsc3+29YeW/2YeeTPxGKmAakUfD2LFuBUs=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=AhPq5QNtempoz+nGsgSRVl0L2OPcMdAFwUoTuGN0znoS9Scux7ZpvGlKGddYYWFaN xfxARDmeLlU6x9pjdVeXWdPArQP/MmdT5HvlDFxEEMmWh3Suqz+t1EzxcaBh0OzsFM mTUvem0krk8eK+0h33LOpElqY6r4WPJBWl0Ki8bA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by sourceware.org (Postfix) with ESMTPS id 3BE32385AC2F for ; Tue, 25 Oct 2022 15:15:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3BE32385AC2F Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29PC1gxH028512; Tue, 25 Oct 2022 17:15:34 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3kebpeu4hn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Oct 2022 17:15:34 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D06C6100038; Tue, 25 Oct 2022 17:15:28 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id E56A9228A42; Tue, 25 Oct 2022 17:15:28 +0200 (CEST) Received: from jkgcxl0002.jkg.st.com (10.210.54.218) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 25 Oct 2022 17:15:28 +0200 To: Subject: [PATCH] testsuite: Windows paths use \ and not / Date: Tue, 25 Oct 2022 17:15:13 +0200 Message-ID: <20221025151512.1791109-1-torbjorn.svensson@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.210.54.218] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-25_08,2022-10-25_01,2022-06-22_01 X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: =?utf-8?q?Torbj=C3=B6rn_SVENSSON_via_Gcc-patches?= From: Torbjorn SVENSSON Reply-To: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= Cc: jwakely@redhat.com Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747673136193518530?= X-GMAIL-MSGID: =?utf-8?q?1747673136193518530?= Without this patch, the following error is reported on Windows: In file included from t:\build\arm-none-eabi\include\c++\11.3.1\string:54, from t:\build\arm-none-eabi\include\c++\11.3.1\bits\locale_classes.h:40, from t:\build\arm-none-eabi\include\c++\11.3.1\bits\ios_base.h:41, from t:\build\arm-none-eabi\include\c++\11.3.1\ios:42, from t:\build\arm-none-eabi\include\c++\11.3.1\ostream:38, from t:\build\arm-none-eabi\include\c++\11.3.1\iostream:39: t:\build\arm-none-eabi\include\c++\11.3.1\bits\range_access.h:36:10: note: include 't:\build\arm-none-eabi\include\c++\11.3.1\initializer_list' translated to import arm-none-eabi-g++.exe: warning: .../gcc/testsuite/g++.dg/modules/pr99023_b.X: linker input file unused because linking not done FAIL: g++.dg/modules/pr99023_b.X -std=c++2a dg-regexp 6 not found: "[^\n]*: note: include '[^\n]*/initializer_list' translated to import\n" gcc/testsuite/ChangeLog: * g++.dg/modules/pr99023_b.X: Match Windows paths too. Co-Authored-By: Yvan ROUX Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/g++.dg/modules/pr99023_b.X | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/modules/pr99023_b.X b/gcc/testsuite/g++.dg/modules/pr99023_b.X index 3d82f34868b..ca5f32e5bcc 100644 --- a/gcc/testsuite/g++.dg/modules/pr99023_b.X +++ b/gcc/testsuite/g++.dg/modules/pr99023_b.X @@ -3,5 +3,5 @@ // { dg-prune-output {linker input file unused} } -// { dg-regexp {[^\n]*: note: include '[^\n]*/initializer_list' translated to import\n} } +// { dg-regexp {[^\n]*: note: include '[^\n]*[/\\]initializer_list' translated to import\n} } NO DO NOT COMPILE