Mercurial > lcfOS
annotate test/runtests.sh @ 306:b145f8e6050b
Start on c3 rewrite
author | Windel Bouwman |
---|---|
date | Mon, 09 Dec 2013 19:00:21 +0100 |
parents | 158068af716c |
children | 11c5a8a70c02 |
rev | line source |
---|---|
285 | 1 #!/usr/bin/env bash |
229 | 2 |
287 | 3 export PYTHONPATH=$PYTHONPATH:`pwd`/../python |
284 | 4 |
306 | 5 if [ "$1" == "loop" ] |
6 then | |
284 | 7 DIR=.. |
8 while :; do | |
296 | 9 python -m unittest |
287 | 10 cd gui |
11 #python -m unittest -v | |
12 cd .. | |
284 | 13 echo "Awaiting changes in $DIR" |
14 inotifywait -r -e modify $DIR | |
15 done | |
16 else | |
286 | 17 set -e |
300 | 18 python -m unittest |
284 | 19 fi |
229 | 20 |
21 |