[med-svn] [Git][med-team/mipe][master] 6 commits: Add autopkgtests
Shruti Sridhar
gitlab at salsa.debian.org
Sun Feb 21 18:19:41 GMT 2021
Shruti Sridhar pushed to branch master at Debian Med / mipe
Commits:
c1ab4c69 by Shruti Sridhar at 2021-02-21T23:18:41+05:30
Add autopkgtests
- - - - -
58528af8 by Shruti Sridhar at 2021-02-21T23:19:56+05:30
Add data for tests
- - - - -
774d9e02 by Shruti Sridhar at 2021-02-21T23:20:13+05:30
Add example for tests
- - - - -
60af1bd8 by Shruti Sridhar at 2021-02-21T23:26:48+05:30
Add docs
- - - - -
850e21a9 by Shruti Sridhar at 2021-02-21T23:27:48+05:30
Add source for test data
- - - - -
de974e76 by Shruti Sridhar at 2021-02-21T23:47:57+05:30
Update changelog
- - - - -
7 changed files:
- + debian/README.test
- debian/changelog
- debian/docs
- + debian/examples
- + debian/tests/control
- + debian/tests/data/template.mipe
- + debian/tests/run-unit-test
Changes:
=====================================
debian/README.test
=====================================
@@ -0,0 +1,14 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+ sh run-unit-test
+
+in order to confirm its integrity.
+
+Notes on the files used for testing
+────────────────────────────────────────
+Files: debian/tests/data/*
+Source: http://mipe.sourceforge.net/
+
=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+mipe (1.1-8ubuntu1) UNRELEASED; urgency=medium
+
+ * Add autopkgtests
+ * Add data for tests
+ * Add example for tests
+ * Add docs
+ * Add source for test data
+
+ -- Shruti Sridhar <shruti.sridhar99 at gmail.com> Sun, 21 Feb 2021 23:47:24 +0530
+
mipe (1.1-8) unstable; urgency=medium
* Standards-Version: 4.5.1 (routine-update)
=====================================
debian/docs
=====================================
@@ -1 +1,3 @@
README
+debian/README*
+debian/tests/run-unit-test
\ No newline at end of file
=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+debian/tests/data/*
\ No newline at end of file
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
=====================================
debian/tests/data/template.mipe
=====================================
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<mipe xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://mipe.sourceforge.net/mipe.xsd">
+ <version>1.0</version>
+ <pcr id="PCR1">
+ <id>PCR1</id>
+ <modified>20040426</modified>
+ <modified>20040428</modified>
+ <researcher>Jan Aerts</researcher>
+ <species>chicken</species>
+ <design>
+ <source>
+ <file>CYP2D6.fas</file>
+ </source>
+ <range>125-642</range>
+ <seq>ACCTACTACTACAAACTACAACAAAATTCACATCAAAACATACACCATACCTACTACTAT...</seq>
+ <primer1>
+ <oligo>OL04-242</oligo>
+ </primer1>
+ <primer2>
+ <oligo>OL04-243</oligo>
+ </primer2>
+ </design>
+ <use>
+ <seq>CACCATCACAGCTCACTATCGCCTGCGGGATCTCTCATTTACACAATTCGAGCTCACATCTATCATATCTAA...</seq>
+ <revcomp>1</revcomp>
+ <snp id="SCW0006">
+ <id>SCW0006</id>
+ <pos>45</pos>
+ <amb>R</amb>
+ <rank>3</rank>
+ </snp>
+ </use>
+ </pcr>
+</mipe>
=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,34 @@
+#!/bin/bash
+set -e
+
+pkg=mipe
+
+export LC_ALL=C.UTF-8
+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}"
+
+
+mipe0_9to1_0 template.mipe > mipe0_9
+echo "6292e7feaa902e9dab6c8401d780ff06 mipe0_9" >> checksums
+
+mipe2pcroverview template.mipe > mipepcr
+echo "10632740119ff60721a50ded8a375209 mipepcr" >> checksums
+
+mipe06to07 template.mipe > mipe06
+echo "2878e5c422cd82574df7f75e0182eea4 mipe06" >> checksums
+
+mipe2snps template.mipe > snp.csv
+echo "1d1d78f1a3aba3bb354ef336bb4996e6 snp.csv" >> checksums
+
+mipe2pcrprimers template.mipe > primers
+echo "bc64141b33d3026b6d8c421ba4d779e5 primers" >> checksums
+
+md5sum --check checksums
+
+
View it on GitLab: https://salsa.debian.org/med-team/mipe/-/compare/ef38e1f4da53cb7a4f597d7141b04449a2c9f947...de974e76099cf525f75b848de3fca5d9b573aeea
--
View it on GitLab: https://salsa.debian.org/med-team/mipe/-/compare/ef38e1f4da53cb7a4f597d7141b04449a2c9f947...de974e76099cf525f75b848de3fca5d9b573aeea
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210221/c7f8a7a1/attachment-0001.htm>
More information about the debian-med-commit
mailing list