annotate test/runtests.sh @ 346:3bb7dcfe5529

expanded arm target
author Windel Bouwman
date Fri, 07 Mar 2014 17:05:32 +0100
parents 11c5a8a70c02
children
rev   line source
285
e64c8c03128f Fix runtests
Windel Bouwman
parents: 284
diff changeset
1 #!/usr/bin/env bash
229
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
2
343
11c5a8a70c02 Fix ide
Windel Bouwman
parents: 306
diff changeset
3 export PYTHONPATH=$PYTHONPATH:`pwd`/../python:`pwd`/../python/ide
284
05184b95fa16 Moved tests to seperate folder
Windel Bouwman
parents: 269
diff changeset
4
306
b145f8e6050b Start on c3 rewrite
Windel Bouwman
parents: 300
diff changeset
5 if [ "$1" == "loop" ]
b145f8e6050b Start on c3 rewrite
Windel Bouwman
parents: 300
diff changeset
6 then
284
05184b95fa16 Moved tests to seperate folder
Windel Bouwman
parents: 269
diff changeset
7 DIR=..
05184b95fa16 Moved tests to seperate folder
Windel Bouwman
parents: 269
diff changeset
8 while :; do
296
9417caea2eb3 Directorized some backend files
Windel Bouwman
parents: 287
diff changeset
9 python -m unittest
287
1c7c1e619be8 File movage
Windel Bouwman
parents: 286
diff changeset
10 #python -m unittest -v
284
05184b95fa16 Moved tests to seperate folder
Windel Bouwman
parents: 269
diff changeset
11 echo "Awaiting changes in $DIR"
05184b95fa16 Moved tests to seperate folder
Windel Bouwman
parents: 269
diff changeset
12 inotifywait -r -e modify $DIR
05184b95fa16 Moved tests to seperate folder
Windel Bouwman
parents: 269
diff changeset
13 done
05184b95fa16 Moved tests to seperate folder
Windel Bouwman
parents: 269
diff changeset
14 else
286
d9df72971cbf Changed package to module
Windel Bouwman
parents: 285
diff changeset
15 set -e
300
Windel Bouwman
parents: 296
diff changeset
16 python -m unittest
284
05184b95fa16 Moved tests to seperate folder
Windel Bouwman
parents: 269
diff changeset
17 fi
229
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
18
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
19