meta: Allow specifying compiler arguments for check_demos

This commit is contained in:
David Mak 2023-09-14 14:11:43 +08:00
parent 411837cacd
commit 769fd01df8
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ count=0
for demo in src/*.py; do for demo in src/*.py; do
echo -n "checking $demo... " echo -n "checking $demo... "
./interpret_demo.py $demo > interpreted.log ./interpret_demo.py $demo > interpreted.log
./run_demo.sh $demo > run.log ./run_demo.sh "$@" $demo > run.log
diff -Nau interpreted.log run.log diff -Nau interpreted.log run.log
echo "ok" echo "ok"
let "count+=1" let "count+=1"