From ecc6d69907f09fbe824a8a5b9a57523d22562f88 Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 11 Jun 2025 07:45:25 +0300 Subject: [PATCH] move the valgrind command into the makefile --- Makefile.am | 4 ++++ REUSE.toml | 4 +--- libtls.suppressions => libtls.supp | 0 vg | 2 -- 4 files changed, 5 insertions(+), 5 deletions(-) rename libtls.suppressions => libtls.supp (100%) delete mode 100755 vg diff --git a/Makefile.am b/Makefile.am index 4620d65..564fae8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,3 +23,7 @@ setpass_SOURCES = \ AM_CXXFLAGS = $(LIBUV_CFLAGS) $(LIBTLS_CFLAGS) $(LUA_CFLAGS) LDADD = $(LIBUV_LIBS) $(LIBTLS_LIBS) $(LUA_LIBS) AM_CXXFLAGS += -Wall -Wextra @WMISSINGVAR@ + +.PHONY: valgrind +valgrind: ircd + valgrind --leak-check=full --show-leak-kinds=all -s --suppressions=$(srcdir)/libtls.supp ./ircd diff --git a/REUSE.toml b/REUSE.toml index 3f20138..d31b545 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -3,9 +3,7 @@ version = 1 [[annotations]] path = [ "data/help.example.txt", - - "vg", - "libtls.suppressions", + "libtls.supp", ] SPDX-FileCopyrightText = "Copyright (c) 2022-2025 Egor" SPDX-License-Identifier = "Unlicense" diff --git a/libtls.suppressions b/libtls.supp similarity index 100% rename from libtls.suppressions rename to libtls.supp diff --git a/vg b/vg deleted file mode 100755 index 8136e72..0000000 --- a/vg +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec valgrind --leak-check=full --show-leak-kinds=all -s --suppressions=libtls.suppressions ./ircd -- 2.56.0