#!/bin/sh -e

pkg=python-screed
if [ "$ADTTMP" = "" ] ; then
  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $ADTTMP

for release in /usr/lib/python*/dist-packages/screed
do
	cp -r ${release} .
	nosetests --attr '!known_failing' screed
done
