File: run-unit-test

package info (click to toggle)
gff2ps 0.98l-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 548 kB
  • sloc: sh: 7,334; makefile: 7
file content (22 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e

pkg="gff2ps"

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
cp -a /usr/share/doc/${pkg}/test-data/* .
gunzip *.gz

echo "Testing gff2ps...\n"
gff2ps -C brown.a3.rc -- Hsap_BTK_annotation.gff \
    Hsap_BTK_sgp3X.gff Hsap_BTK_tblastx3X.gff \
    Hsap_BTK_sgpFO.gff Hsap_BTK_tblastxFO.gff \
    Hsap_BTK_geneid.gff Hsap_BTK_genscan.gff \
    Hsap_BTK_repeatmasker.gff \
    > Hsap_BTK_ALL_a3.ps

echo "\nPASS"