Mercurial > lcfOS
annotate test/runtests.sh @ 296:9417caea2eb3
Directorized some backend files
author | Windel Bouwman |
---|---|
date | Sun, 01 Dec 2013 13:36:58 +0100 |
parents | 1c7c1e619be8 |
children | 158068af716c |
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 | |
296 | 8 python -m unittest |
287 | 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 |