File: run-example

package info (click to toggle)
libssw 1.1-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 28,616 kB
  • sloc: ansic: 14,533; cpp: 493; python: 382; java: 136; makefile: 90; sh: 29
file content (16 lines) | stat: -rwxr-xr-x 427 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# autopkgtest check: Run test alignment with command line tool
# Author: Sascha Steinbiss <satta@debian.org>
set -e

DEMO=$(pwd)/demo
DEBDIR=$(pwd)/debian
WORKDIR=$(mktemp -d)
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
cd $WORKDIR

cp $DEMO/ref.fa $DEMO/1k.fa .
ssw-align -c ref.fa 1k.fa | tee out
diff out $DEBDIR/tests/run-example.out
ssw_test -c ref.fa 1k.fa | tee out
diff out $DEBDIR/tests/run-example.out