
!#/bin/bash

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

for f in $DIR/../examples/*.py; do
    echo "Running $f"
    python $f
    if [ $? -ne 0 ]; then
        echo "Error running $f"
        exit 1
    fi
done