annotate python/trunner.sh @ 269:5f8c04a8d26b

Towards better modularity
author Windel Bouwman
date Sun, 18 Aug 2013 17:43:18 +0200
parents 521567d17388
children
rev   line source
229
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
1 #!/usr/bin/bash
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
2
230
88a1e0baef65 Added some tests for IR-code
Windel Bouwman
parents: 229
diff changeset
3 DIR=.
229
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
4 while :; do
269
5f8c04a8d26b Towards better modularity
Windel Bouwman
parents: 231
diff changeset
5 python -m unittest
229
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
6 echo "Awaiting changes in $DIR"
230
88a1e0baef65 Added some tests for IR-code
Windel Bouwman
parents: 229
diff changeset
7 inotifywait -r -e modify $DIR
229
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
8 done
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
9
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
10
51d5ed1bd503 Added testrunner
Windel Bouwman
parents:
diff changeset
11