1 2 3 4 5 6 7 8 9 10 11 12 13 |
#1/bin/bash if [ -z $1 ]; then echo "usage: runtests.sh <basic|stress|cachetests|kvaltest>" exit 1 fi # start with pristine log for test rm /tmp/log/filecache.log PYTHONPATH=./:../sharedfile python tests/$1.py $2 # cleanup behind ourselves find . -name '*.pyc' -exec rm -f {} \; |