by default test with valgrind does not show full leak info

This commit is contained in:
antirez 2010-05-21 13:58:04 +02:00
parent 2f4dd7e0fd
commit c22b2ec863

View File

@ -117,7 +117,7 @@ proc start_server {filename overrides {code undefined}} {
set stderr [format "%s/%s" [dict get $config "dir"] "stderr"]
if {$::valgrind} {
exec valgrind --leak-check=full ./redis-server $config_file > $stdout 2> $stderr &
exec valgrind ./redis-server $config_file > $stdout 2> $stderr &
after 2000
} else {
exec ./redis-server $config_file > $stdout 2> $stderr &