Make run-tests.sh call doctest module directly
This makes it fail correctly. Also, run doctest in verbose mode.
This commit is contained in:
parent
f439e7b07d
commit
47cd66e43b
@ -5,7 +5,7 @@ TESTS=`git grep -l doctest Lib/`
|
||||
ret=0
|
||||
for test in $TESTS; do
|
||||
echo "Running tests in $test"
|
||||
if ! python $test; then
|
||||
if ! python -m doctest -v $test; then
|
||||
let ret=ret+1
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user