diff test/runtests.sh @ 284:05184b95fa16

Moved tests to seperate folder
author Windel Bouwman
date Fri, 15 Nov 2013 13:43:22 +0100
parents python/trunner.sh@5f8c04a8d26b
children e64c8c03128f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/runtests.sh	Fri Nov 15 13:43:22 2013 +0100
@@ -0,0 +1,16 @@
+#!/usr/bin/bash
+
+export PYTHONPATH=$PYTHONPATH:../python
+
+if [ $1 == "loop" ]; then
+  DIR=..
+  while :; do
+    python -m unittest
+    echo "Awaiting changes in $DIR"
+    inotifywait -r -e modify $DIR
+  done
+else
+  python -m unittest
+fi
+
+