mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-25 18:40:19 -04:00
New test targets
This commit is contained in:
parent
c8f219e6e8
commit
34ee2bf2a6
1 changed files with 15 additions and 0 deletions
15
Makefile.am
15
Makefile.am
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue