Debian Codegraph @

debian/tests/run-unit-test

raw
1 #!/bin/sh -e
2 # That way the test data were fetched
3 #SERVER=www.pdb.org
4 #entries="1sp1 1sp2 3znf"
5 #
6 #pdb_fetch () {
7 # for n in $* ; do
8 # wget -nv http://${SERVER}/pdb/files/$n.pdb.gz
9 # done
10 #}
11
12 # The process will run in this directory:
13 pkg=mustang
14 if [ "$AUTOPKGTEST_TMP" = "" ] ; then
15 AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
16 fi
17 cd $AUTOPKGTEST_TMP
18
19 cp -a /usr/share/doc/${pkg}/examples/* .
20 find . -name "*.gz" -exec gunzip \{\} \;
21
22 # Stupidly the downloaded data files need to be copied to /tmp/mustang
23 mkdir -p /tmp/mustang
24 mv [13]*.pdb /tmp/mustang
25
26 mustang -f ./test_zf-CCHH-small
27
28 echo Results are in $AUTOPKGTEST_TMP/results.html and $AUTOPKGTEST_TMP/results.pdb
29
30 # rm -f $AUTOPKGTEST_TMP/*