comparison test/runtests.sh @ 287:1c7c1e619be8

File movage
author Windel Bouwman
date Thu, 21 Nov 2013 11:57:27 +0100
parents d9df72971cbf
children 9417caea2eb3
comparison
equal deleted inserted replaced
286:d9df72971cbf 287:1c7c1e619be8
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 export PYTHONPATH=$PYTHONPATH:../python 3 export PYTHONPATH=$PYTHONPATH:`pwd`/../python
4 4
5 if [ $1 == "loop" ]; then 5 if [ $1 == "loop" ]; then
6 DIR=.. 6 DIR=..
7 while :; do 7 while :; do
8 python -m unittest 8 python -m unittest -v
9 cd gui
10 #python -m unittest -v
11 cd ..
9 echo "Awaiting changes in $DIR" 12 echo "Awaiting changes in $DIR"
10 inotifywait -r -e modify $DIR 13 inotifywait -r -e modify $DIR
11 done 14 done
12 else 15 else
13 set -e 16 set -e