[v2] Libvtv-test: Fix bug that scansarif.exp cannot be found in libvtv regression test.
Message ID | 20220927060228.573975-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 h4csp170274wrt; Mon, 26 Sep 2022 23:03:13 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4H6Xg+OgGIURD3N5BxVi1Ecq+ofIgmPcpF1FWnX8nONzAMCV7IeyQJxO6WeRUXmmhfBM1Y X-Received: by 2002:a17:906:9b87:b0:733:1795:2855 with SMTP id dd7-20020a1709069b8700b0073317952855mr21733141ejc.156.1664258593599; Mon, 26 Sep 2022 23:03:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664258593; cv=none; d=google.com; s=arc-20160816; b=xvWoyqZyeFfHPRcBEXcFhaclVOZImWy8floJqGEErgy3nmWAolV9I8zRO9LzDq2DQ3 vyHGdRLyY3CgyF10k4T7mh5+W9x++p/p/md1sn/Yk7dBV5bY1dvuEz0BgrnLJQyIE7th HDVlaW8pPXQPqyB83Ow+34YoQDlZ55ccKrnCHOObqqnMe9rc0QbDZXc3/285H5aA+pbd r/RsDeKDal2tyGQvqt0WxRINbPF/ZXwjfTGTuYMjJ7mABA8LXAjzoBvpckNjnZ6GoPp+ EdQ1sDCvkMS9GYkNCvMhPbxVYL7vyddmp0fVW3YfDq5xlA7Dt2GkWUyYsnzeIpZp6it2 Vm9g== 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=Kk9xu6SDZeRaVp66PQ9npc6um5qgJbhn/Z5Jv7LD1PQ=; b=Wb7YAQPjTtACgCcDnIKrmf4aMKC/++aZQtY57yN9YwN6et1DhRNZloxwPNgLBt1Xi3 SLRi0qFiZ2Phu6Xg5S/afNu/I/ohaq3z/ueIuxMHF7qRXXwJAUsYK/AesPNOrZHc2UrO NmbAVJAa1qlX6bP5ErrYSw6co/QkWEiREJuPPOk3Qi/hGESpO5Ubni3oiJinUebkHYZJ YXMC+6cT+D7SusNsQzQh5CYizAvLTiXF/X8QhRGR3zBMaEBqrNJLK6CZ1DKJzt+Bn8pD Q/8C92HyK1cO5WoX3VHgFuBLO5HX7Vzf3+Jc3dCEQN10NYK/8fmUpGwCLbJGvIz9c8dO bPkg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id m6-20020a50d7c6000000b0045724323eabsi778015edj.65.2022.09.26.23.03.13 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Sep 2022 23:03:13 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 84CAA3858407 for <ouuuleilei@gmail.com>; Tue, 27 Sep 2022 06:03:09 +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 A38DB3858D39 for <gcc-patches@gcc.gnu.org>; Tue, 27 Sep 2022 06:02:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A38DB3858D39 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 AQAAf8Dxvmv2kTJjOZ4iAA--.52249S2; Tue, 27 Sep 2022 14:02:33 +0800 (CST) From: Lulu Cheng <chenglulu@loongson.cn> To: gcc-patches@gcc.gnu.org, mliska@suse.cz, dmalcolm@redhat.com Subject: [PATCH v2] Libvtv-test: Fix bug that scansarif.exp cannot be found in libvtv regression test. Date: Tue, 27 Sep 2022 14:02:28 +0800 Message-Id: <20220927060228.573975-1-chenglulu@loongson.cn> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf8Dxvmv2kTJjOZ4iAA--.52249S2 X-Coremail-Antispam: 1UD129KBjvdXoWruw48CFWkAFy3JF4rCryfJFb_yoW3trbEyw nrJws7XF1UAw4DA3W8Xr4IkF4kA3yDXF1IvFZ7GF4kWF1vvFZxXFsrWa9rGFy5Ka45ZFWU tr4Fyw1xtF1DKjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb28FF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_ Cr1l84ACjcxK6I8E87Iv67AKxVWxJr0_GcWl84ACjcxK6I8E87Iv6xkF7I0E14v26rxl6s 0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xII jxv20xvE14v26r1Y6r17McIj6I8E87Iv67AKxVW8JVWxJwAm72CE4IkC6x0Yz7v_Jr0_Gr 1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7MxkIecxEwVCm-wCF04k2 0xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI 8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41l IxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIx AIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2 jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0JUkrcfUUUUU= 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?1745101619051986509?= X-GMAIL-MSGID: =?utf-8?q?1745101619051986509?= |
Series |
[v2] Libvtv-test: Fix bug 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, 6:02 a.m. UTC
SARIF support was added in r13-967 but libvtv wasn't updated. 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 Tue, 2022-09-27 at 14:02 +0800, Lulu Cheng wrote: > SARIF support was added in r13-967 but libvtv wasn't updated. Sorry about breaking this. The patch looks reasonable to me, FWIW, assuming that it fixes the issue, of course! Looks like my normal testing process missed this when I was testing the SARIF patch; presumably we need to configure with --enable-vtable- verify=yes to enable this feature. Thanks Dave > > 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(+) > > 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] > }
在 2022/9/27 下午10:01, David Malcolm 写道: > On Tue, 2022-09-27 at 14:02 +0800, Lulu Cheng wrote: >> SARIF support was added in r13-967 but libvtv wasn't updated. > Sorry about breaking this. The patch looks reasonable to me, FWIW, > assuming that it fixes the issue, of course! > > Looks like my normal testing process missed this when I was testing the > SARIF patch; presumably we need to configure with --enable-vtable- > verify=yes to enable this feature. > > Thanks > Dave > Hi, Dave: I have passed the test, if there is no problem, I will merge into the master branch.
Pushed to r13-3241 在 2022/9/27 下午10:01, David Malcolm 写道: > On Tue, 2022-09-27 at 14:02 +0800, Lulu Cheng wrote: >> SARIF support was added in r13-967 but libvtv wasn't updated. > Sorry about breaking this. The patch looks reasonable to me, FWIW, > assuming that it fixes the issue, of course! > > Looks like my normal testing process missed this when I was testing the > SARIF patch; presumably we need to configure with --enable-vtable- > verify=yes to enable this feature. > > Thanks > Dave > >> 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(+) >> >> 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] >> }
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] }