[med-svn] [Git][med-team/q2cli][master] Add a simple autopkgtest

Liubov Chuprikova gitlab at salsa.debian.org
Sat Mar 23 15:40:12 GMT 2019


Liubov Chuprikova pushed to branch master at Debian Med / q2cli


Commits:
effd46a1 by Liubov Chuprikova at 2019-03-23T15:39:53Z
Add a simple autopkgtest

- - - - -


2 changed files:

- debian/control
- debian/tests/run-unit-test


Changes:

=====================================
debian/control
=====================================
@@ -23,7 +23,7 @@ Depends: ${shlibs:Depends},
          qiime,
          python3-setuptools,
          python3-click
-Description: Command line interface for QIIME 2
+Description: Click-based command line interface for QIIME 2
  QIIME 2 is a powerful, extensible, and decentralized microbiome analysis
  package with a focus on data and analysis transparency. QIIME 2 enables
  researchers to start an analysis with raw DNA sequence data and finish with


=====================================
debian/tests/run-unit-test
=====================================
@@ -1,18 +1,16 @@
-#!/bin/bash
-set -e
+#!/bin/sh -e
 
-pkg=#PACKAGENAME#
+pkg=q2cli
 
 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 -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
-
 cd "${AUTOPKGTEST_TMP}"
 
-#do_stuff_to_test_package#
+export HOME=${HOME:-$PWD}
+
+/usr/bin/qiime --help
+
+echo "\nRESULTS: OK\n"



View it on GitLab: https://salsa.debian.org/med-team/q2cli/commit/effd46a1b089568a2b44d423182d47deea1c8a91

-- 
View it on GitLab: https://salsa.debian.org/med-team/q2cli/commit/effd46a1b089568a2b44d423182d47deea1c8a91
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/20190323/6279cc19/attachment-0001.html>


More information about the debian-med-commit mailing list