Mercurial > lcfOS
annotate test/runtests.sh @ 293:6aa721e7b10b
Try to improve build sequence
author | Windel Bouwman |
---|---|
date | Thu, 28 Nov 2013 20:39:37 +0100 |
parents | 1c7c1e619be8 |
children | 9417caea2eb3 |
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 | |
287 | 8 python -m unittest -v |
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 |
285 | 17 python -m unittest -v |
284 | 18 fi |
229 | 19 |
20 |