Libvtv-test: Fix the problem that scansarif.exp cannot be found in libvtv regression test.
Message ID | 20220927031639.186950-1-chenglulu@loongson.cn |
---|---|
State | Accepted, archived |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5044:0:0:0:0:0 with SMTP id h4csp125137wrt; Mon, 26 Sep 2022 20:17:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6k6XD1XY6dSbFkvNDmy8XwkFQI6m1KZM3dYJQ2JU1qoo1r5/UTKSOGZkxEFE3BB1rSbMz+ X-Received: by 2002:a17:906:8441:b0:779:33be:68c9 with SMTP id e1-20020a170906844100b0077933be68c9mr21724125ejy.720.1664248644853; Mon, 26 Sep 2022 20:17:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664248644; cv=none; d=google.com; s=arc-20160816; b=n6FtjN01YSsPZ/m+NOr8RDAulnB9uE25pDwmNmfh/E17NhdgNzuI/w+P957yeCw5o/ ccUQKXf6PyvGIClFj0DDH5Nd+WD+n62+751T8Ix/ca9tW7kiQG7O9yhDYyZNn8WBcdfA t/iTsEGVKEcMWxK13R5ELQ6Uu9OBXyjZzWRN82fKXt5GjZ9hyeneWHBK0rh/rUfNfmR4 w5mNEpc+ygTRc5jxna66qcpZN6YatDr3WjAib6g8BOEhu9gwSLdN2JkVoSbfGENVgeTP NoDWZeZCKrL+ytTkmxrr1RgiDmTV+5yTQ6CvkS4zx+SRBUEITOfAX7ODKTVLctiAIJ5m jISg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dmarc-filter :delivered-to; bh=A3jq2Q6m3Fe62QeS5fVLW0+kvzf6DGIRFZRXHEbBK5w=; b=Ttu1ceH87PMyko8UJmgmXL0QiTrHUzR3rIu0axvOWQDfAxwFq4oPFqQi6FRn6bdEcu LXHn0mcYbSZqXha+wJHUeGBTUukv7Ihk4QS5n2qZhQh5YtJoDdV3HeOGcBvaoYO3JgCT b9yBd8AG/M19uwS/TTVuoW6dA4o+rIbMb79t2ZIjpDXWPyXochW9KesHPudtuD8Kes6E VPhUKoL9kWpG+AO6Qt8ghJxp2G2cE/Zr/BIQ5Uw2MakA//VJXo8dunBApQ8RnpBmTdFo +gqyrL7dbRliRICqIweZ6WQrTeU5SegbOdmtI2XbczNZaixf5UT/U4U/vL7CZaQYDhrX 1sRw== ARC-Authentication-Results: i=1; mx.google.com; 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" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id xg14-20020a170907320e00b007854ec05527si242058ejb.334.2022.09.26.20.17.24 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 20:17:24 -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; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EE452385828B for <ouuuleilei@gmail.com>; Tue, 27 Sep 2022 03:17:11 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by sourceware.org (Postfix) with ESMTP id 824F33858424 for <gcc-patches@gcc.gnu.org>; Tue, 27 Sep 2022 03:16:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 824F33858424 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=loongson.cn Received: from 5.5.5 (unknown [10.2.5.5]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Bx5OEZazJjY5IiAA--.63613S2; Tue, 27 Sep 2022 11:16:44 +0800 (CST) From: Lulu Cheng <chenglulu@loongson.cn> To: gcc-patches@gcc.gnu.org, mliska@suse.cz, dmalcolm@redhat.com Subject: [PATCH] Libvtv-test: Fix the problem that scansarif.exp cannot be found in libvtv regression test. Date: Tue, 27 Sep 2022 11:16:39 +0800 Message-Id: <20220927031639.186950-1-chenglulu@loongson.cn> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8Bx5OEZazJjY5IiAA--.63613S2 X-Coremail-Antispam: 1UD129KBjvdXoWrZw4DAFyrCr4UArW7Gry5XFb_yoWDWFbEyw nrtws3WF45Aw4Ut3W7Xr4SgF4kC39ruFy3tFZ7KFs7uF1vvFZxXFsrWa9rJa45Ka45ZFWU Jr4Syw12yrWq9jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbV8FF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Ar0_tr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j 6F4UJwA2z4x0Y4vEx4A2jsIE14v26F4UJVW0owA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gc CE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E F7xvrVAajcxG14v26r1j6r4UMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv67AKxV WUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS 5cI20VAGYxC7MxkIecxEwVCm-wCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJV W8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF 1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6x IIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvE x4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvj DU0xZFpf9x0JUH6wZUUUUU= X-CM-SenderInfo: xfkh0wpoxo3qxorr0wxvrqhubq/ X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Cc: xuchenghua@loongson.cn, Lulu Cheng <chenglulu@loongson.cn>, i@xen0n.name Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1745091187171494840?= X-GMAIL-MSGID: =?utf-8?q?1745091187171494840?= |
Series |
Libvtv-test: Fix the problem that scansarif.exp cannot be found in libvtv regression test.
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patches-check | success | Github commit url |
Commit Message
chenglulu
Sept. 27, 2022, 3:16 a.m. UTC
r13-967 add ARRIF output format. However libvtv does not add support. commit 6cf276ddf22066af780335cd0072d2c27aabe468 Author: David Malcolm <dmalcolm@redhat.com> Date: Thu Jun 2 15:40:22 2022 -0400 diagnostics: add SARIF output format libvtv/ChangeLog: * testsuite/lib/libvtv-dg.exp: Add load_gcc_lib of scansarif.exp. --- libvtv/testsuite/lib/libvtv-dg.exp | 2 ++ 1 file changed, 2 insertions(+)
Comments
On 2022/9/27 11:16, Lulu Cheng wrote: > r13-967 add ARRIF output format. However libvtv does not add support. "SARIF support was added in r13-967 but libvtv wasn't updated." (Tip: always remember that English, unlike Chinese, isn't a "topic-prominent" language, meaning you should almost never put the "topic" at subject position of the sentence. IOW, if you find your English to be a perfect 1:1 mapping to some Chinese sentence, which is the case here, it's highly likely you need to improve it somehow. This is by no means personal, but the same pattern of broken English has been appearing in your and your teammates' commits since forever, so I'm afraid I have to point out.) > > commit 6cf276ddf22066af780335cd0072d2c27aabe468 > Author: David Malcolm <dmalcolm@redhat.com> > Date: Thu Jun 2 15:40:22 2022 -0400 > > diagnostics: add SARIF output format And I don't think this reference is necessary, r13-967 is already a precise description. > > libvtv/ChangeLog: > > * testsuite/lib/libvtv-dg.exp: Add load_gcc_lib of scansarif.exp. "Load scansarif.exp." -- another example of redundant expression (no pun intended on "expression"). > --- > libvtv/testsuite/lib/libvtv-dg.exp | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libvtv/testsuite/lib/libvtv-dg.exp b/libvtv/testsuite/lib/libvtv-dg.exp > index b140c194cdc..454d916e556 100644 > --- a/libvtv/testsuite/lib/libvtv-dg.exp > +++ b/libvtv/testsuite/lib/libvtv-dg.exp > @@ -12,6 +12,8 @@ > # along with this program; if not, write to the Free Software > # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. > > +load_gcc_lib scansarif.exp > + > proc libvtv-dg-test { prog do_what extra_tool_flags } { > return [gcc-dg-test-1 libvtv_target_compile $prog $do_what $extra_tool_flags] > } Otherwise LGTM.
Sorry, I will try to avoid this problem in the future. 在 2022/9/27 上午11:30, WANG Xuerui 写道: > > On 2022/9/27 11:16, Lulu Cheng wrote: >> r13-967 add ARRIF output format. However libvtv does not add >> support. > > "SARIF support was added in r13-967 but libvtv wasn't updated." > > (Tip: always remember that English, unlike Chinese, isn't a > "topic-prominent" language, meaning you should almost never put the > "topic" at subject position of the sentence. IOW, if you find your > English to be a perfect 1:1 mapping to some Chinese sentence, which is > the case here, it's highly likely you need to improve it somehow. This > is by no means personal, but the same pattern of broken English has > been appearing in your and your teammates' commits since forever, so > I'm afraid I have to point out.) > >> >> commit 6cf276ddf22066af780335cd0072d2c27aabe468 >> Author: David Malcolm <dmalcolm@redhat.com> >> Date: Thu Jun 2 15:40:22 2022 -0400 >> >> diagnostics: add SARIF output format > > And I don't think this reference is necessary, r13-967 is already a > precise description. > >> >> libvtv/ChangeLog: >> >> * testsuite/lib/libvtv-dg.exp: Add load_gcc_lib of scansarif.exp. > "Load scansarif.exp." -- another example of redundant expression (no > pun intended on "expression"). >> --- >> libvtv/testsuite/lib/libvtv-dg.exp | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/libvtv/testsuite/lib/libvtv-dg.exp >> b/libvtv/testsuite/lib/libvtv-dg.exp >> index b140c194cdc..454d916e556 100644 >> --- a/libvtv/testsuite/lib/libvtv-dg.exp >> +++ b/libvtv/testsuite/lib/libvtv-dg.exp >> @@ -12,6 +12,8 @@ >> # along with this program; if not, write to the Free Software >> # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA >> 02110-1301, USA. >> +load_gcc_lib scansarif.exp >> + >> proc libvtv-dg-test { prog do_what extra_tool_flags } { >> return [gcc-dg-test-1 libvtv_target_compile $prog $do_what >> $extra_tool_flags] >> } > Otherwise LGTM.
diff --git a/libvtv/testsuite/lib/libvtv-dg.exp b/libvtv/testsuite/lib/libvtv-dg.exp index b140c194cdc..454d916e556 100644 --- a/libvtv/testsuite/lib/libvtv-dg.exp +++ b/libvtv/testsuite/lib/libvtv-dg.exp @@ -12,6 +12,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +load_gcc_lib scansarif.exp + proc libvtv-dg-test { prog do_what extra_tool_flags } { return [gcc-dg-test-1 libvtv_target_compile $prog $do_what $extra_tool_flags] }