2021-05-21 16:16:17 +00:00
|
|
|
#! /bin/bash
|
|
|
|
|
2021-05-21 16:48:37 +00:00
|
|
|
failed=0
|
|
|
|
|
2021-05-21 16:16:17 +00:00
|
|
|
for example in $(find $1 -maxdepth 1 -name "*.py")
|
|
|
|
do
|
2021-05-21 16:48:37 +00:00
|
|
|
echo -n "$x" $example '... '
|
2021-05-25 19:28:05 +00:00
|
|
|
export DISPLAY= && python $example --fast_dev_run 1 &> /dev/null
|
2021-05-21 16:16:17 +00:00
|
|
|
if [[ $? -ne 0 ]]; then
|
2021-05-25 19:28:05 +00:00
|
|
|
echo "FAILED!!"
|
2021-05-21 16:48:37 +00:00
|
|
|
failed=1
|
|
|
|
else
|
2021-05-25 19:28:05 +00:00
|
|
|
echo "SUCCESS!"
|
2021-05-21 16:16:17 +00:00
|
|
|
fi
|
2021-05-21 16:48:37 +00:00
|
|
|
done
|
|
|
|
|
2021-05-25 19:28:05 +00:00
|
|
|
exit $failed
|