automatically rebuild the CONFIG.example file so it stays up to date. --HG-- rename : test/bt/CONFIG.base => test/format/CONFIG.example rename : test/bt/Makefile => test/format/Makefile rename : test/bt/bdb.c => test/format/bdb.c rename : test/bt/config.c => test/format/config.c rename : test/bt/config.h => test/format/config.h rename : test/bt/s_dumpcmp => test/format/s_dumpcmp rename : test/bt/t.c => test/format/t.c rename : test/bt/util.c => test/format/util.c rename : test/bt/vt => test/format/vt rename : test/bt/vt.suppress => test/format/vt.suppress rename : test/bt/wts.c => test/format/wts.c rename : test/bt/wts.h => test/format/wts.h
22 lines
368 B
Bash
22 lines
368 B
Bash
#! /bin/sh
|
|
|
|
rm -f vgout.*
|
|
|
|
# Command line argument is the number of iterations.
|
|
r=1
|
|
test $# -eq 0 || r=$1
|
|
|
|
# Add
|
|
# --db-attach=yes
|
|
# to wait on a debugger attach.
|
|
while test $r -gt 0; do
|
|
r=`expr $r - 1`
|
|
valgrind \
|
|
--leak-check=yes \
|
|
--log-file=vgout.%p \
|
|
--read-var-info=yes \
|
|
--suppressions=vt.suppress \
|
|
--track-fds=yes \
|
|
./t -1
|
|
done
|