view test/runtests.sh @ 352:899ae3aea803

First kernel run for vexpressA9
author Windel Bouwman
date Sun, 09 Mar 2014 11:55:55 +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