Skip to content
Browse files

tag memory leak check on kill server as "leaks"

  • Loading branch information...
1 parent bd29be7 commit a0ed0067cc6664d6a8acb56ca97beb3a1b0293dd @pietern pietern committed Jun 3, 2010
Showing with 5 additions and 3 deletions.
  1. +5 −3 tests/support/server.tcl
View
8 tests/support/server.tcl
@@ -33,9 +33,11 @@ proc kill_server config {
if {![dict exists $config "skipleaks"]} {
catch {
if {[string match {*Darwin*} [exec uname -a]]} {
- test "Check for memory leaks (pid $pid)" {
- exec leaks $pid
- } {*0 leaks*}
+ tags {"leaks"} {
+ test "Check for memory leaks (pid $pid)" {
+ exec leaks $pid
+ } {*0 leaks*}
+ }
}
}
}

0 comments on commit a0ed006

Please sign in to comment.
Something went wrong with that request. Please try again.