Mercurial > lcfOS
annotate test/runtests.sh @ 332:87feb8a23b4d
Added task list command
author | Windel Bouwman |
---|---|
date | Fri, 07 Feb 2014 12:51:55 +0100 |
parents | b145f8e6050b |
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 |