Mercurial > lcfOS
annotate test/runtests.sh @ 354:5477e499b039
Added some sort of string functionality
author | Windel Bouwman |
---|---|
date | Thu, 13 Mar 2014 18:59:06 +0100 |
parents | 11c5a8a70c02 |
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 |