Added a simple valgrind script for easier testing.
This commit is contained in:
parent
34f94cdc91
commit
2a7a482f2c
1
MCServer/.gitignore
vendored
1
MCServer/.gitignore
vendored
@ -16,5 +16,6 @@ memdump*
|
||||
*.grab
|
||||
ProtectionAreas.sqlite
|
||||
helgrind.log
|
||||
valgrind.log
|
||||
motd.txt
|
||||
*.deuser
|
||||
|
7
MCServer/vg
Normal file
7
MCServer/vg
Normal file
@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
# This script runs MCServer under valgrind
|
||||
# It expects valgrind to be normally installed and available
|
||||
# Note that this is for Linux only and debug-only, since it slows down MCS way too much
|
||||
|
||||
valgrind --log-file=valgrind.log --suppressions=vg.supp --tool=memcheck --leak-check=full --leak-resolution=high --show-reachable=yes --track-origins=yes -v ./MCServer
|
0
MCServer/vg.supp
Normal file
0
MCServer/vg.supp
Normal file
Loading…
Reference in New Issue
Block a user