#!/bin/sh -e
oname=Biostrings
pkg=r-bioc-`echo $oname | tr '[A-Z]' '[a-z]'`
if [ "$ADTTMP" = "" ] ; then
  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
cd $ADTTMP
cp /usr/lib/R/site-library/$oname/unitTests/* $ADTTMP
for runtest in `ls *.R` ; do
    R --no-save < $runtest
done
rm -f $ADTTMP/*
