Setup code for valgrind tests
Posted to
tcl
by kbk at Wed Feb 06 19:59:42 GMT 2008
view raw
catch
{
memory onexit ~/tmp/memory.txt
puts
"running with memory leak checking"
}
proc
::exit args {}
set
script [
lindex
$argv
0]
set
argv [
lreplace
$argv
0 0]
source
$script
Recent Posts
tcl by oldlaptop
17 days ago
tcl by oldlaptop
17 days ago
tcl by Molnija Bjornsson
22 days ago
tcl by Molnija Bjornsson
22 days ago
tcl by zmoment
22 days ago
tcl by zmoment
22 days ago
tcl by Guest86
28 days ago
tcl by Guest86
28 days ago
tcl by Guest86
28 days ago
tcl by Guest86
28 days ago
Submit
New paste
Documentation
From Jabber