tag memory leak check on kill server as "leaks"

This commit is contained in:
Pieter Noordhuis
2010-06-03 00:27:09 +02:00
parent bd29be7db5
commit a0ed0067cc

View File

@ -33,9 +33,11 @@ proc kill_server config {
if {![dict exists $config "skipleaks"]} { if {![dict exists $config "skipleaks"]} {
catch { catch {
if {[string match {*Darwin*} [exec uname -a]]} { if {[string match {*Darwin*} [exec uname -a]]} {
test "Check for memory leaks (pid $pid)" { tags {"leaks"} {
exec leaks $pid test "Check for memory leaks (pid $pid)" {
} {*0 leaks*} exec leaks $pid
} {*0 leaks*}
}
} }
} }
} }