forked from M-Labs/nac3
check_demos: improve output
This commit is contained in:
parent
6ea40809b3
commit
ced7acd871
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user