File: installation-test

package info (click to toggle)
rate4site 3.0.0-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,988 kB
  • sloc: cpp: 18,728; sh: 1,073; makefile: 232
file content (32 lines) | stat: -rw-r--r-- 715 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
26
27
28
29
30
31
32
#!/bin/sh
# autopkgtest check: build and run with default test data
# Author: Tatiana Malygina <merlettaia@gmail.com>

set -e

pkg=rate4site

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

cd $AUTOPKGTEST_TMP

cat <<EOF > msa.fasta
>string1
CAPTIA-N
>string2
CAPT-A--
>string3
CAPT-AIN
EOF 
# This creates file with a simple multiple sequence alignment in one of 
# supported formats (namely, in .fasta format). This doesn't produce any 
# sensible data, but simply shows that program executes and outputs some 
# results. 

echo "Run rate4site..."
rate4site -s msa.fasta
[ -s TheTree.txt ]
[ -s r4s.res ]