#!/bin/sh -e

if [ "$ADTTMP" = "" ] ; then
  ADTTMP=`mktemp -d /tmp/python-pysam-test.XXXXXX`
fi
cd $ADTTMP
cp -ra /usr/share/doc/python-pysam/tests/* $ADTTMP
nosetests --nocapture
cd
rm -rf $ADTTMP

