From: Egor Date: Wed, 11 Jun 2025 04:45:25 +0000 (+0300) Subject: move the valgrind command into the makefile X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=ecc6d69907f09fbe824a8a5b9a57523d22562f88;p=patchyircd.git move the valgrind command into the makefile --- 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