File: run-unit-test

package info (click to toggle)
probcons 1.12-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 664 kB
  • sloc: cpp: 7,263; xml: 567; makefile: 114; sh: 21
file content (28 lines) | stat: -rw-r--r-- 918 bytes parent folder | download | duplicates (5)
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
26
27
28
#!/bin/bash
set -e

pkg="probcons"

if [ "$AUTOPKGTEST_TMP" = "" ] ; then
  AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi

cp -a /usr/share/doc/${pkg}/examples/* $AUTOPKGTEST_TMP

cd $AUTOPKGTEST_TMP

/usr/bin/probcons example.fa > output1
/usr/bin/probcons -clustalw example.fa > output2.aln
/usr/bin/probcons -c 1 example.fa > output3.mfa
/usr/bin/probcons --consistency 1 example.fa > output4.mfa
/usr/bin/probcons -ir 1000 example.fa > output5.mfa
/usr/bin/probcons --iterative-refinement 1000 example.fa > output6.mfa
/usr/bin/probcons -pre 1 example.fa > output7.mfa
/usr/bin/probcons --pre-training 1 example.fa > output8.mfa
/usr/bin/probcons -pairs example.fa > output9.mfa
/usr/bin/probcons -viterbi example.fa > output10.mfa
/usr/bin/probcons -v example.fa > output11.mfa
/usr/bin/probcons --verbose example.fa > output12.mfa

echo "PASS"