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
1 days ago
tcl by oldlaptop
1 days ago
tcl by Molnija Bjornsson
6 days ago
tcl by Molnija Bjornsson
6 days ago
tcl by zmoment
6 days ago
tcl by zmoment
6 days ago
tcl by Guest86
12 days ago
tcl by Guest86
12 days ago
tcl by Guest86
12 days ago
tcl by Guest86
12 days ago
Submit
New paste
Documentation
From Jabber