view test/runtests.sh @ 409:8fe299cd2d55 devel

Close devel branch
author Windel Bouwman
date Sat, 21 Feb 2015 12:20:10 +0100
parents 11c5a8a70c02
children
line wrap: on
line source

#!/usr/bin/env bash

export PYTHONPATH=$PYTHONPATH:`pwd`/../python:`pwd`/../python/ide

if [ "$1" == "loop" ]
then
  DIR=..
  while :; do
    python -m unittest
    #python -m unittest -v
    echo "Awaiting changes in $DIR"
    inotifywait -r -e modify $DIR
  done
else
  set -e
  python -m unittest
fi