]> PatchyGit - patchyircd.git/commitdiff
move the valgrind command into the makefile
authorEgor <egor@patchysicp.xyz>
Wed, 11 Jun 2025 04:45:25 +0000 (07:45 +0300)
committerEgor <egor@patchysicp.xyz>
Wed, 11 Jun 2025 04:45:25 +0000 (07:45 +0300)
Makefile.am
REUSE.toml
libtls.supp [moved from libtls.suppressions with 100% similarity]
vg [deleted file]

index 4620d65..564fae8 100644 (file)
@@ -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
index 3f20138..d31b545 100644 (file)
@@ -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"
similarity index 100%
rename from libtls.suppressions
rename to libtls.supp
diff --git a/vg b/vg
deleted file mode 100755 (executable)
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