comparison test/runtests.sh @ 343:11c5a8a70c02 devel

Fix ide
author Windel Bouwman
date Sat, 01 Mar 2014 16:27:52 +0100
parents b145f8e6050b
children
comparison
equal deleted inserted replaced
342:86b02c98a717 343:11c5a8a70c02
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 2
3 export PYTHONPATH=$PYTHONPATH:`pwd`/../python 3 export PYTHONPATH=$PYTHONPATH:`pwd`/../python:`pwd`/../python/ide
4 4
5 if [ "$1" == "loop" ] 5 if [ "$1" == "loop" ]
6 then 6 then
7 DIR=.. 7 DIR=..
8 while :; do 8 while :; do
9 python -m unittest 9 python -m unittest
10 cd gui
11 #python -m unittest -v 10 #python -m unittest -v
12 cd ..
13 echo "Awaiting changes in $DIR" 11 echo "Awaiting changes in $DIR"
14 inotifywait -r -e modify $DIR 12 inotifywait -r -e modify $DIR
15 done 13 done
16 else 14 else
17 set -e 15 set -e