view 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 source

#!/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