view test/runtests.sh @ 286:d9df72971cbf

Changed package to module
author Windel Bouwman
date Fri, 15 Nov 2013 13:52:32 +0100
parents e64c8c03128f
children 1c7c1e619be8
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
  set -e
  python -m unittest -v
fi