[med-svn] [Git][med-team/lighter][master] 5 commits: Add test data - multi-orig tarball

Nilesh Patra gitlab at salsa.debian.org
Sun Nov 15 17:45:57 GMT 2020



Nilesh Patra pushed to branch master at Debian Med / lighter


Commits:
06effb7b by Nilesh Patra at 2020-11-15T23:01:25+05:30
Add test data - multi-orig tarball

- - - - -
e7675598 by Nilesh Patra at 2020-11-15T23:04:12+05:30
New upstream version 1.1.2
- - - - -
b45f06e0 by Nilesh Patra at 2020-11-15T23:04:31+05:30
Update upstream source from tag 'upstream/1.1.2'

Update to upstream version '1.1.2'
with Debian dir 082d56e4ae3d0c26df77fd678344918e581a12a6
- - - - -
cc6a66ce by Nilesh Patra at 2020-11-15T23:14:54+05:30
Add autopkgtests

- - - - -
584c65eb by Nilesh Patra at 2020-11-15T23:15:28+05:30
Update changelog

- - - - -


6 changed files:

- − .gitignore
- + debian-tests-data/sequence.fasta
- debian/changelog
- + debian/gbp.conf
- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
.gitignore deleted
=====================================
@@ -1,2 +0,0 @@
-*.o
-lighter
\ No newline at end of file


=====================================
debian-tests-data/sequence.fasta
=====================================
The diff for this file was not included because it is too large.

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+lighter (1.1.2-4) unstable; urgency=medium
+
+  * Add test data - multi-orig tarball
+  * Add autopkgtests
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Sun, 15 Nov 2020 23:14:58 +0530
+
 lighter (1.1.2-3) unstable; urgency=medium
 
   [ Helmut Grohne ]


=====================================
debian/gbp.conf
=====================================
@@ -0,0 +1,4 @@
+[DEFAULT]
+pristine-tar=True
+filter=[ '.gitignore', '.travis.yml', '.git*' ]
+component=['debian-tests-data']


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,21 @@
+#!/bin/bash
+set -e
+
+pkg="lighter"
+CUR_DIR=`pwd`
+
+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 ${CUR_DIR}/debian-tests-data/* $AUTOPKGTEST_TMP
+
+cd $AUTOPKGTEST_TMP
+gunzip -r *
+
+echo "Test functionality"
+lighter -r sequence.fasta -k 17 5000000 0.1 -t 10
+[ -s sequence.cor.fa ] || exit 1
+echo "======================================="
+echo "PASS"



View it on GitLab: https://salsa.debian.org/med-team/lighter/-/compare/b8c44ba2e4386fbfcf5e4cedb4f116dee1d3ff80...584c65eb1e6528b17282c1d4748ea09be6c5fc37

-- 
View it on GitLab: https://salsa.debian.org/med-team/lighter/-/compare/b8c44ba2e4386fbfcf5e4cedb4f116dee1d3ff80...584c65eb1e6528b17282c1d4748ea09be6c5fc37
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/20201115/a17b4c15/attachment-0001.html>


More information about the debian-med-commit mailing list