view test/runtests.sh @ 285:e64c8c03128f

Fix runtests
author Windel Bouwman
date Fri, 15 Nov 2013 13:45:34 +0100
parents 05184b95fa16
children d9df72971cbf
line wrap: on
line source

#!/usr/bin/env 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 -v
fi