Mercurial > lcfOS
annotate test/runtests.sh @ 287:1c7c1e619be8
File movage
author | Windel Bouwman |
---|---|
date | Thu, 21 Nov 2013 11:57:27 +0100 |
parents | d9df72971cbf |
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 |