annotate python/trunner.sh @ 282:c137f1fe3e65

Add codeship hook
author Windel Bouwman
date Fri, 15 Nov 2013 09:32:37 +0100
parents 5f8c04a8d26b
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