File: example-tests

package info (click to toggle)
sspace 2.1.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,792 kB
  • sloc: perl: 2,382; python: 374; makefile: 27; sh: 17
file content (25 lines) | stat: -rwxr-xr-x 545 bytes parent folder | download | duplicates (2)
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 ]