1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
#!/usr/bin/make all: check # mago_test check: set -e; \ find . -name 'test_*.py' | \ while read file; do \ if [ -f $$file ]; then \ echo "Testing $$file"; \ python $$file ; \ fi \ done mago_test: MAGO_SHARE=./mago/ mago -f basic.xml #MAGO_SHARE=./mago/ mago --log-level=debug -f basic.xml |