From ced7acd87110b64f79b4af8a4b96f0cc4012ec73 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 24 Jan 2022 11:38:43 +0800 Subject: [PATCH] check_demos: improve output --- nac3standalone/demo/check_demos.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nac3standalone/demo/check_demos.sh b/nac3standalone/demo/check_demos.sh index f9ba67b8..1c32cbe5 100755 --- a/nac3standalone/demo/check_demos.sh +++ b/nac3standalone/demo/check_demos.sh @@ -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"