Mercurial > lcfOS
annotate test/runtests.sh @ 318:e84047f29c78
Add burg and yacc initial attempts
author | Windel Bouwman |
---|---|
date | Tue, 31 Dec 2013 12:38:15 +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 |