view test/runtests.sh @ 355:c2ddc8a36f5e

Enabled optimization
author Windel Bouwman
date Fri, 14 Mar 2014 10:30:13 +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