
UNAME=`uname`
if [ $UNAME == 'Darwin' ] 
then
  OUTTYPE='quartz'
else
  OUTTYPE='cairo1'
fi

python manage.py test --include_profile $@
./bin/profile_png.sh


[ $UNAME == 'Darwin' ] && open profiling/prof_db.png