[med-svn] [Git][med-team/python-pyfaidx][master] Add autopkgtest unit test
Sao I Kuan
gitlab at salsa.debian.org
Wed Sep 30 12:06:06 BST 2020
Sao I Kuan pushed to branch master at Debian Med / python-pyfaidx
Commits:
97662c46 by Sao I Kuan at 2020-09-30T20:03:39+09:00
Add autopkgtest unit test
- - - - -
3 changed files:
- − debian/TODO
- + debian/tests/control
- + debian/tests/run-unit-test
Changes:
=====================================
debian/TODO deleted
=====================================
@@ -1,5 +0,0 @@
-Replace
-
- Testsuite: autopkgtest-pkg-python
-
-by a real test suite running build time tests
=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, python3-nose, python3-numpy
+Restrictions: allow-stderr
=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -e
+for py in $(py3versions -r 2> /dev/null)
+do echo "Testing with $py in $(pwd):"
+ nosetests3 -v
+done
View it on GitLab: https://salsa.debian.org/med-team/python-pyfaidx/-/commit/97662c46ee883689693332a95a96c61e0fb17d6c
--
View it on GitLab: https://salsa.debian.org/med-team/python-pyfaidx/-/commit/97662c46ee883689693332a95a96c61e0fb17d6c
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/20200930/30159b7f/attachment.html>
More information about the debian-med-commit
mailing list