Mercurial > lcfOS
annotate test/runtests.sh @ 339:6ee17c4dd6b8
Increase timeout
author | Windel Bouwman |
---|---|
date | Fri, 21 Feb 2014 13:35:07 +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 |