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