Mercurial > lcfOS
annotate test/runtests.sh @ 343:11c5a8a70c02 devel
Fix ide
author | Windel Bouwman |
---|---|
date | Sat, 01 Mar 2014 16:27:52 +0100 |
parents | b145f8e6050b |
children |
rev | line source |
---|---|
285 | 1 #!/usr/bin/env bash |
229 | 2 |
343 | 3 export PYTHONPATH=$PYTHONPATH:`pwd`/../python:`pwd`/../python/ide |
284 | 4 |
306 | 5 if [ "$1" == "loop" ] |
6 then | |
284 | 7 DIR=.. |
8 while :; do | |
296 | 9 python -m unittest |
287 | 10 #python -m unittest -v |
284 | 11 echo "Awaiting changes in $DIR" |
12 inotifywait -r -e modify $DIR | |
13 done | |
14 else | |
286 | 15 set -e |
300 | 16 python -m unittest |
284 | 17 fi |
229 | 18 |
19 |