#!/bin/sh -e

pkg=pynast
if [ "$ADTTMP" = "" ] ; then
  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $ADTTMP
cp -a /usr/share/doc/${pkg}/tests $ADTTMP
find . -name "*.gz" -exec gunzip \{\} \;
cd tests
LC_ALL=C.UTF-8 python all_tests.py
rm -rf *

