tests/runtests
author Alexander Solovyov <piranha@piranha.org.ua>
Sat, 10 Apr 2010 12:15:59 +0300
changeset 115 b0d1129c76bc
parent 96 82aaeccffbec
permissions -rwxr-xr-x
Added tag 0.9.10 for changeset 95653a562a05

#!/bin/sh

BASE=$(dirname $0)/..
STDOUT=$BASE/tests/tmp.out
STDERR=$BASE/tests/tmp.err

for f in `ls .`; do
    if [ -x "$f" -a $f != "runtests" ]; then
        echo ---------------- $f
        PYTHONPATH=$BASE $BASE/tests/$f >$STDOUT 2>$STDERR
        diff -N $BASE/tests/$f.out $STDOUT
        diff -N $BASE/tests/$f.err $STDERR
    fi
done

rm -f $STDOUT
rm -f $STDERR