Mercurial > lcfOS
annotate test/runtests.sh @ 309:68b01c8abf8a
Added start of ir read and write
author | Windel Bouwman |
---|---|
date | Fri, 13 Dec 2013 13:51:02 +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 |