#!/bin/sh -e

pkg=libtfbs-perl

if [ "$ADTTMP" = "" ] ; then
  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $ADTTMP
cp -a /usr/share/doc/${pkg}/examples/* $ADTTMP

find . -name "*.gz" -exec gunzip \{\} \;

# t/04_DB_TRANSFAC.t needs network access so this test is skipped
TESTS=$(ls t/*.t | grep -v -e t/04_DB_TRANSFAC.t)

prove --blib $TESTS Ext/t/*.t

