put them into a special directory since there will be LOTS of log files. {verbatim} -valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --leak-resolution=high --log-file=/tmp/tests.%p --trace-children=yes --num-callers=16 ./batch_test.pl -b -c +valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --leak-resolution=high \ +--log-file=/tmp/tests.%p --trace-children=yes --num-callers=16 ./batch_test.pl -b -c {endverbatim} Then, in the same directory as the pile of =tests.*= files, run this script,