Commit 39918c7e authored by MARCHE Claude's avatar MARCHE Claude

show stat success/total problems in regression tests

parent a6122c07
......@@ -18,7 +18,10 @@ TMPERR=$PWD/why3regtests.err
cd `dirname $0`
res=0
export success=0
export total=0
run_dir () {
for f in `ls $1/*/why3session.xml`; do
......@@ -39,7 +42,9 @@ run_dir () {
else
echo -n "OK"
cat $TMP
success=`expr $success + 1`
fi
total=`expr $total + 1`
done
}
......@@ -63,6 +68,8 @@ echo "=== Check Builtin translation ==="
run_dir check-builtin
echo ""
echo "Summary: $success/$total"
exit $res
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