From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 9A7753858C2D for ; Tue, 27 Sep 2022 14:02:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9A7753858C2D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664287326; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ORtgnuayJWGcrf3evX7DIgDP7BYHVdQ7ekUgh79STh4=; b=FT7Tp+/lsabhJsY4H4JA7qku4JT8WgzoQ24NtYsb5IHTzK7Cri38q14PYyoytPmnt0W8pv +jDa6bb6sWlYJ9w6B0RwZ10RQpbJVjNv/5KvVent6667WQIPP2oRvydgzwlN883tqkkZCY u77pHA91+PJ5wUY9zP99c1aps8ZuXSA= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-228-0iR86hgoMc2CShP91Veijw-1; Tue, 27 Sep 2022 10:02:02 -0400 X-MC-Unique: 0iR86hgoMc2CShP91Veijw-1 Received: by mail-qv1-f69.google.com with SMTP id f9-20020ad442c9000000b004ac7f4fde18so5861809qvr.14 for ; Tue, 27 Sep 2022 07:02:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date; bh=ORtgnuayJWGcrf3evX7DIgDP7BYHVdQ7ekUgh79STh4=; b=w/8NK3Qs+tnXe367k7uC0QhO8yrsAYJfvTZ8BKmiDjbBF1cDhgRrb3MYxKpO3tBtUw i72RWh9UUF5zBU2DVl4b1dKDBQkif3SZaP3s0wBMmvXLh94DU4s6H63lUcsvW4YL1xZp fwVDcx8qR6uq3bjwB1ndtYkLL8IIMugOgmYwV8DHxR8VsuBbG5+uet5BWsSn2xEoyKU7 JRAzBYZzEMd3cHkv57D1T8xKcRpQb9DjzVY8Gjsmlc7ICLohZGjEXu8qrMjl9Y/Q1hsa feTFjPoCJqm7CXCMirtFE3+/087wmDr0MB6LnqOdwsM3sE0W1iZOQ9U/I88d3WCKVQ3q Th+g== X-Gm-Message-State: ACrzQf3/04z7KtkgPxVzVU8UldPCVNsWlSXODAbg4B5PsaDbqmXdWHZY V8nniHXkX40AGd8Ns3NMcxpPba1NtWCiavGv1tjaLaQ2ZNew766zYDQyCv3o42ZErQyseucr5dG ID+0x2QVxSa4K30VKlg== X-Received: by 2002:a05:620a:3711:b0:6ce:e7b3:d91b with SMTP id de17-20020a05620a371100b006cee7b3d91bmr17445130qkb.428.1664287322138; Tue, 27 Sep 2022 07:02:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4MRwPaorM6NtWCct11AfufT5McigOeaFw8cw5hnDydJHCePN9MJtdBrXpRlu4XKdqZTLAGVA== X-Received: by 2002:a05:620a:3711:b0:6ce:e7b3:d91b with SMTP id de17-20020a05620a371100b006cee7b3d91bmr17445112qkb.428.1664287321883; Tue, 27 Sep 2022 07:02:01 -0700 (PDT) Received: from t14s.localdomain (c-73-69-212-193.hsd1.nh.comcast.net. [73.69.212.193]) by smtp.gmail.com with ESMTPSA id y19-20020ac85253000000b0035d4344a389sm797522qtn.94.2022.09.27.07.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 07:02:01 -0700 (PDT) Message-ID: Subject: Re: [PATCH v2] Libvtv-test: Fix bug that scansarif.exp cannot be found in libvtv regression test. From: David Malcolm To: Lulu Cheng , gcc-patches@gcc.gnu.org, mliska@suse.cz Cc: xry111@xry111.site, xuchenghua@loongson.cn, i@xen0n.name Date: Tue, 27 Sep 2022 10:01:59 -0400 In-Reply-To: <20220927060228.573975-1-chenglulu@loongson.cn> References: <20220927060228.573975-1-chenglulu@loongson.cn> User-Agent: Evolution 3.44.4 (3.44.4-1.fc36) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00,BODY_8BITS,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,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 List-Id: On Tue, 2022-09-27 at 14:02 +0800, Lulu Cheng wrote: > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0SARIF support was added i= n 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=3Dyes to enable this feature. Thanks Dave >=20 > libvtv/ChangeLog: >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0* testsuite/lib/libvtv-dg= .exp: Add load_gcc_lib of > scansarif.exp. > --- > =C2=A0libvtv/testsuite/lib/libvtv-dg.exp | 2 ++ > =C2=A01 file changed, 2 insertions(+) >=20 > 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 @@ > =C2=A0# along with this program; if not, write to the Free Software > =C2=A0# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA > 02110-1301, USA. > =C2=A0 > +load_gcc_lib scansarif.exp > + > =C2=A0proc libvtv-dg-test { prog do_what extra_tool_flags } { > =C2=A0=C2=A0=C2=A0=C2=A0 return [gcc-dg-test-1 libvtv_target_compile $pro= g $do_what > $extra_tool_flags] > =C2=A0}