Mercurial > lcfOS
comparison test/runtests.sh @ 285:e64c8c03128f
Fix runtests
author | Windel Bouwman |
---|---|
date | Fri, 15 Nov 2013 13:45:34 +0100 |
parents | 05184b95fa16 |
children | d9df72971cbf |
comparison
equal
deleted
inserted
replaced
284:05184b95fa16 | 285:e64c8c03128f |
---|---|
1 #!/usr/bin/bash | 1 #!/usr/bin/env bash |
2 | 2 |
3 export PYTHONPATH=$PYTHONPATH:../python | 3 export PYTHONPATH=$PYTHONPATH:../python |
4 | 4 |
5 if [ $1 == "loop" ]; then | 5 if [ $1 == "loop" ]; then |
6 DIR=.. | 6 DIR=.. |
8 python -m unittest | 8 python -m unittest |
9 echo "Awaiting changes in $DIR" | 9 echo "Awaiting changes in $DIR" |
10 inotifywait -r -e modify $DIR | 10 inotifywait -r -e modify $DIR |
11 done | 11 done |
12 else | 12 else |
13 python -m unittest | 13 python -m unittest -v |
14 fi | 14 fi |
15 | 15 |
16 | 16 |