Debian Codegraph @

debian/tests/run-unit-test

raw
1 #!/bin/bash
2 set -e
3
4 pkg=poa
5
6 export LC_ALL=C.UTF-8
7 if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
8 AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
9 trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
10 fi
11
12 cp -a /usr/share/doc/${pkg}/test_data/* "${AUTOPKGTEST_TMP}"
13
14 cd "${AUTOPKGTEST_TMP}"
15
16 gunzip -r *
17
18 poa -read_fasta test1.fa -clustal clustal.aln blosum80.mat
19
20 poa -read_msa clustal.aln -pir pir.aln blosum80.mat
21
22 poa -read_fasta test2.fa -pir pir.aln -best blosum80.mat
23
24 poa -read_fasta test3.fa -po po.aln blosum80.mat
25
26 poa -read_fasta test4.fa -do_global -clustal clustal.aln blosum80.mat
27
28 poa -read_fasta test5.fa -do_progressive -clustal clustal.aln blosum80.mat