Commit 34afc37d authored by Guido van Rossum's avatar Guido van Rossum

- Change shell used to /bin/sh.

- Recognize command line options.
parent a43f1674
#! /bin/bash #! /bin/sh
# Run the regression test suite # Run the regression test suite
: ${TMPDIR=/tmp} : ${TMPDIR=/tmp}
flags=""
while :
do
case $1 in
-*) flags="$flags $1"; shift;;
*) break;;
esac
done
for test in ${*-test/test*.xml} for test in ${*-test/test*.xml}
do do
out=` echo $test | sed 's,/[^/0-9]*\([0-9]*\).xml,/out\1.xml,' ` out=` echo $test | sed 's,/[^/0-9]*\([0-9]*\).xml,/out\1.xml,' `
tmp=$TMPDIR/taltest$$`basename $test` tmp=$TMPDIR/taltest$$`basename $test`
./driver.py $test >$tmp ./driver.py $flags $test >$tmp
if cmp -s $tmp $out if cmp -s $tmp $out
then then
echo $test OK echo $test OK
......
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