2022-01-23 10:35:06 +08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2024-08-09 12:26:59 +08:00
|
|
|
if [ "$1" == "--help" ]; then
|
|
|
|
echo "Usage: check_demos.sh [CHECKARGS...] [--] [NAC3ARGS...]"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2022-01-24 11:38:43 +08:00
|
|
|
count=0
|
2022-01-23 10:35:06 +08:00
|
|
|
for demo in src/*.py; do
|
2023-09-29 15:17:45 +08:00
|
|
|
./check_demo.sh "$@" "$demo"
|
|
|
|
((count += 1))
|
2022-01-23 10:35:06 +08:00
|
|
|
done
|
|
|
|
|
2022-01-24 11:38:43 +08:00
|
|
|
echo "Ran $count demo checks - PASSED"
|