New test targets

This commit is contained in:
Andrea Mazzoleni 2026-03-11 15:25:13 +01:00
parent c8f219e6e8
commit 34ee2bf2a6

View file

@ -1134,6 +1134,9 @@ endif
MANUAL = ./snapraid --test-skip-device -c test/test-par1.conf sync
run:
$(MANUAL)
valgrind:
valgrind \
--tool=memcheck \
@ -1161,6 +1164,18 @@ cachegrind:
2> cachegrind.log
tail cachegrind.log
heaptrack:
/usr/local/heaptrack/bin/heaptrack $(MANUAL)
perf:
@trap 'perf report; exit 1' INT; perf record -g -- $(MANUAL)
perfstat:
perf stat -d -- $(MANUAL)
perfmem:
@trap 'perf mem report; exit 1' INT; perf mem record -- $(MANUAL)
lcov_reset:
lcov --directory . -z
rm -f ./lcov.info