comparison test/runtests.sh @ 284:05184b95fa16

Moved tests to seperate folder
author Windel Bouwman
date Fri, 15 Nov 2013 13:43:22 +0100
parents python/trunner.sh@5f8c04a8d26b
children e64c8c03128f
comparison
equal deleted inserted replaced
283:c9781c73e7e2 284:05184b95fa16
1 #!/usr/bin/bash
2
3 export PYTHONPATH=$PYTHONPATH:../python
4
5 if [ $1 == "loop" ]; then
6 DIR=..
7 while :; do
8 python -m unittest
9 echo "Awaiting changes in $DIR"
10 inotifywait -r -e modify $DIR
11 done
12 else
13 python -m unittest
14 fi
15
16