forked from M-Labs/nac3
David Mak
b3891b9a0d
- Add helptext for check_demos.sh - Add back support for using debug NAC3 for running tests - Output error message when argument is not recognized - Fixed last non-demo script argument being ignored - Add back SSE2 requirement to NAC3 (required for mandelbrot)
17 lines
265 B
Bash
Executable File
17 lines
265 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
if [ "$1" == "--help" ]; then
|
|
echo "Usage: check_demos.sh [CHECKARGS...] [--] [NAC3ARGS...]"
|
|
exit
|
|
fi
|
|
|
|
count=0
|
|
for demo in src/*.py; do
|
|
./check_demo.sh "$@" "$demo"
|
|
((count += 1))
|
|
done
|
|
|
|
echo "Ran $count demo checks - PASSED"
|