Commit 9b64c9e8 authored by Guido van Rossum's avatar Guido van Rossum

Get rid of runtest.sh shell script

parent d742f37b
......@@ -62,7 +62,6 @@ setpath.py hack to set sys.path and import ZODB
__init__.py empty file that makes this directory a package
runtest.py Python script to run regression tests
ndiff.py helper for runtest.py to produce diffs
runtest.sh shell script to run regression tests (old)
test/ drectory with test files and output
Author and License
......
#! /bin/sh
# Run the regression test suite
: ${TMPDIR=/tmp}
flags=""
while :
do
case $1 in
-*) flags="$flags $1"; shift;;
*) break;;
esac
done
for test in ${*-test/test*.xml}
do
out=` echo $test | sed 's,/[^/0-9]*\([0-9]*\).xml,/out\1.xml,' `
tmp=$TMPDIR/taltest$$`basename $test`
./driver.py $flags $test >$tmp
case $? in
0) if cmp -s $tmp $out
then
echo $test OK
else
echo "$test failed -- diff (expected vs. actual) follows"
diff $out $tmp
fi
;;
*) echo $test exit status $?;;
esac
rm $tmp
done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment