[med-svn] [Git][med-team/flexbar][master] Add autopkgtest
Liubov Chuprikova
gitlab at salsa.debian.org
Sat Aug 4 07:45:15 BST 2018
Liubov Chuprikova pushed to branch master at Debian Med / flexbar
Commits:
2a4ec332 by Liubov Chuprikova at 2018-08-04T06:44:39Z
Add autopkgtest
- - - - -
4 changed files:
- debian/README.test
- debian/changelog
- + debian/tests/control
- + debian/tests/run-unit-test
Changes:
=====================================
debian/README.test
=====================================
--- a/debian/README.test
+++ b/debian/README.test
@@ -1,11 +1,9 @@
-This file describes how to test the package and the results of the test.
-
-It turns out that csfasta and csfastq test are failing. This is reported to upstream.
+This file describes how to test the package.
You can do the following for testing:
$ tmpdir=`mktemp -d`
$ cp -a examples/* $tmpdir # in the package source use `cd test`
$ cd $tmpdir
-$ flexbar_validate.sh
+$ ./flexbar_test.sh
=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+flexbar (1:3.4.0-2) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Add autopkgtest
+
+ -- Liubov Chuprikova <chuprikovalv at gmail.com> Sat, 04 Aug 2018 14:21:27 +0800
+
flexbar (1:3.4.0-1) unstable; urgency=medium
* New upstream version
=====================================
debian/tests/control
=====================================
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+pkg="flexbar"
+
+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 /usr/share/doc/${pkg}/examples/* .
+
+./flexbar_test.sh
View it on GitLab: https://salsa.debian.org/med-team/flexbar/commit/2a4ec332821c346fde7391879d7f7bd3cad95702
--
View it on GitLab: https://salsa.debian.org/med-team/flexbar/commit/2a4ec332821c346fde7391879d7f7bd3cad95702
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/20180804/5c8a4a27/attachment-0001.html>
More information about the debian-med-commit
mailing list