mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
valgrind: added make target
This commit is contained in:
parent
4e5dc58e18
commit
5cb8fc5a35
2 changed files with 14 additions and 2 deletions
|
@ -3,6 +3,10 @@
|
|||
|
||||
tests: unit-tests integration-tests
|
||||
|
||||
run-tests: run-unit-tests run-integration-tests
|
||||
run-tests: run-unit-tests run-integration-tests run-valgrind
|
||||
|
||||
.PHONY: tests run-tests
|
||||
run-valgrind: src
|
||||
valgrind --leak-check=full --show-leak-kinds=all --suppressions=$(SRCDIR)/tests/valgrind.supp $(BUILDDIR)/villas-node & sleep 2; kill $$!; sleep 1; kill $$!
|
||||
valgrind --leak-check=full --show-leak-kinds=all --suppressions=$(SRCDIR)/tests/valgrind.supp $(BUILDDIR)/villas-pipe $(SRCDIR)/etc/websocket-loopback.conf ws1 & sleep 2; kill $$!; sleep 1; kill $$!
|
||||
|
||||
.PHONY: tests run-tests run-valgrind
|
||||
|
|
8
tests/valgrind.supp
Normal file
8
tests/valgrind.supp
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
openssl
|
||||
Memcheck:Leak
|
||||
match-leak-kinds: reachable
|
||||
...
|
||||
fun:SSL_library_init
|
||||
...
|
||||
}
|
Loading…
Add table
Reference in a new issue