Mercurial > lcfOS
annotate test/runtests.sh @ 366:39bf68bf1891
Fix sample tests and deterministic build
author | Windel Bouwman |
---|---|
date | Fri, 21 Mar 2014 09:43:01 +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 |