forked from M-Labs/nac3
Sebastien Bourdeauducq
2a0caf931f
https://unix.stackexchange.com/questions/376114/how-to-detect-an-error-using-process-substitution
13 lines
223 B
Bash
Executable File
13 lines
223 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
for demo in src/*.py; do
|
|
echo "checking $demo..."
|
|
./interpret_demo.py $demo > interpreted.log
|
|
./run_demo.sh $demo > run.log
|
|
diff -Nau interpreted.log run.log
|
|
done
|
|
|
|
echo "PASSED"
|