[gcc r13-3241] Libvtv-test: Fix bug that scansarif.exp cannot be found in libvtv regression test.

LuluCheng chenglulu@gcc.gnu.org
Wed Oct 12 02:46:03 GMT 2022


https://gcc.gnu.org/g:9d9e793b6543745a5a3aae9032478c056f167c9c

commit r13-3241-g9d9e793b6543745a5a3aae9032478c056f167c9c
Author: Lulu Cheng <chenglulu@loongson.cn>
Date:   Tue Sep 27 10:47:06 2022 +0800

    Libvtv-test: Fix bug that scansarif.exp cannot be found in libvtv regression test.
    
            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.

Diff:
---
 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]
 }


More information about the Gcc-cvs mailing list