mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
When running the test in valgrind mode, pass the right flags to show memory leaks stack traces but only including the "definitely lost" items.
This commit is contained in:
parent
64ef44d568
commit
74f10793c8
@ -176,7 +176,7 @@ proc start_server {options {code undefined}} {
|
|||||||
set stderr [format "%s/%s" [dict get $config "dir"] "stderr"]
|
set stderr [format "%s/%s" [dict get $config "dir"] "stderr"]
|
||||||
|
|
||||||
if {$::valgrind} {
|
if {$::valgrind} {
|
||||||
exec valgrind --suppressions=src/valgrind.sup src/redis-server $config_file > $stdout 2> $stderr &
|
exec valgrind --suppressions=src/valgrind.sup --show-reachable=no --show-possibly-lost=no --leak-check=full src/redis-server $config_file > $stdout 2> $stderr &
|
||||||
} else {
|
} else {
|
||||||
exec src/redis-server $config_file > $stdout 2> $stderr &
|
exec src/redis-server $config_file > $stdout 2> $stderr &
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user