Fix run-tests.sh to run on dash

$(()) is more portable than let, who knew...
This commit is contained in:
Behdad Esfahbod 2015-03-03 11:31:22 -08:00
parent e02b9ea05b
commit e5b78aa212

View File

@ -6,7 +6,7 @@ ret=0
for test in $TESTS; do for test in $TESTS; do
echo "Running tests in $test" echo "Running tests in $test"
if ! python -m doctest -v $test; then if ! python -m doctest -v $test; then
let ret=ret+1 ret=$((ret+1))
fi fi
done done
if test $ret != 0; then if test $ret != 0; then