Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Add basic test functionality
· a582802b
Saira Hussain
authored
Jul 31, 2019
a582802b
Bump changelog
· 8e8064ec
Saira Hussain
authored
Jul 31, 2019
8e8064ec
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
8e8064ec
norsnet (1.0.17-5) UNRELEASED; urgency=medium
* Team upload.
[Saira Hussain]
* Add unit tests
-- Saira Hussain <saira.h0213@zoho.com> Wed, 31 Jul 2019 11:31:56 +0100
norsnet (1.0.17-4) unstable; urgency=medium
* pp-popularity-contest only suggested
...
...
debian/examples
0 → 100644
View file @
8e8064ec
examples/*
debian/tests/control
0 → 100644
View file @
8e8064ec
Tests: run-unit-tests
Depends: @
Restrictions: allow-stderr
debian/tests/run-unit-tests
0 → 100755
View file @
8e8064ec
#!/bin/bash
set
-e
pkg
=
mcl
if
[
"
${
AUTOPKGTEST_TMP
}
"
=
""
]
;
then
AUTOPKGTEST_TMP
=
$(
mktemp
-d
/tmp/
${
pkg
}
-test
.XXXXXX
)
# Double quote below to expand the temporary directory variable now versus
# later is on purpose.
# shellcheck disable=SC2064
# trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
fi
cp
/usr/share/doc/
${
pkg
}
/examples/
*
-a
"
${
AUTOPKGTEST_TMP
}
"
cd
"
${
AUTOPKGTEST_TMP
}
"
gunzip
-r
*
# Just for debugging
set
-x
#Generation of protein families
mcxload
-abc
protein_graphs.txt
--stream-mirror
--stream-neg-log10
-stream-tf
'ceil(200)'
-o
protein_graphs.mci
-write-tab
protein_graphs.tab
mcl protein_graphs.mci
-I
2
mcxdump
-icl
out.protein_graphs.mci.I20
-tabr
protein_graphs.tab
-o
clusters.protein_graphs.mci.I20
#Building clusters of genomes
mcxload
-abc
genome_graphs.txt
--stream-mirror
-o
genome_graphs.mci
-write-tab
genome_graphs.tab
mcl genome_graphs.mci
-I
1.2
mcl genome_graphs.mci
-I
2
mcl genome_graphs.mci
-I
4
mcl genome_graphs.mci
-I
6
mcxdump
-icl
out.genome_graphs.mci.I12
-tabr
genome_graphs.tab
-o
clusters.genome.mci.I12
mcxdump
-icl
out.genome_graphs.mci.I20
-tabr
genome_graphs.tab
-o
clusters.genome.mci.I20
mcxdump
-icl
out.genome_graphs.mci.I40
-tabr
genome_graphs.tab
-o
clusters.genome.mci.I40
mcxdump
-icl
out.genome_graphs.mci.I60
-tabr
genome_graphs.tab
-o
clusters.genome.mci.I60