Commit 5a9fcb87 authored by Pieter Noordhuis's avatar Pieter Noordhuis
Browse files

tag memory leak check on kill server as "leaks"

parent afbf5914
...@@ -33,9 +33,11 @@ proc kill_server config { ...@@ -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*}
}
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment