1
0

Added a simple valgrind script for easier testing.

This commit is contained in:
madmaxoft 2013-09-22 17:27:12 +02:00
parent 34f94cdc91
commit 2a7a482f2c
3 changed files with 8 additions and 0 deletions

1
MCServer/.gitignore vendored
View File

@ -16,5 +16,6 @@ memdump*
*.grab
ProtectionAreas.sqlite
helgrind.log
valgrind.log
motd.txt
*.deuser

7
MCServer/vg Normal file
View 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
View File