forked from M-Labs/nac3
1
0
Fork 0

check_demos: improve output

This commit is contained in:
Sebastien Bourdeauducq 2022-01-24 11:38:43 +08:00
parent 6ea40809b3
commit ced7acd871
1 changed files with 5 additions and 2 deletions

View File

@ -2,11 +2,14 @@
set -e
count=0
for demo in src/*.py; do
echo "checking $demo..."
echo -n "checking $demo... "
./interpret_demo.py $demo > interpreted.log
./run_demo.sh $demo > run.log
diff -Nau interpreted.log run.log
echo "ok"
let "count+=1"
done
echo "PASSED"
echo "Ran $count demo checks - PASSED"