1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/bin/sh
# autopkgtest check: Run test cases for installed AEGeAn tools
# Author: Sascha Steinbiss <sascha@steinbiss.name>
set -e
ORIGDIR=$(pwd)
WORKDIR=$(mktemp -d)
# trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR
cp $ORIGDIR/example/* .
cp $ORIGDIR/debian/tests/SRR* .
if [ -n "$1" ]; then
CMD=$1;
else
CMD=sspace
fi
$CMD -l libraries.txt -s contigs_abyss.fasta
[ -s standard_output.final.evidence ]
[ -s standard_output.final.scaffolds.fasta ]
[ -s standard_output.logfile.txt ]
[ -s standard_output.summaryfile.txt ]
|