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
: ${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 $test >$tmp
./driver.py $flags $test >$tmp
if cmp -s $tmp $out
then
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