[med-svn] [Git][med-team/pyode][master] 3 commits: Add better tests

Nilesh Patra gitlab at salsa.debian.org
Fri Nov 13 06:29:28 GMT 2020



Nilesh Patra pushed to branch master at Debian Med / pyode


Commits:
40020c7b by Nilesh Patra at 2020-11-13T11:53:15+05:30
Add better tests

- - - - -
2097c9d3 by Nilesh Patra at 2020-11-13T11:58:16+05:30
Enable smoke tests

- - - - -
57a822d3 by Nilesh Patra at 2020-11-13T11:59:05+05:30
Update changelog

- - - - -


5 changed files:

- debian/changelog
- debian/control
- debian/tests/control
- + debian/tests/pkg-python/import-name
- + debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pyode (1.2.0.dev15-3) unstable; urgency=medium
+
+  * Add better tests (Closes: #974464)
+  * Enable smoke tests
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Fri, 13 Nov 2020 11:58:25 +0530
+
 pyode (1.2.0.dev15-2) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -5,6 +5,7 @@ Uploaders: Yaroslav Halchenko <debian at onerussian.com>,
            Nilesh Patra <npatra974 at gmail.com>
 Section: python
 Priority: optional
+Testsuite: autopkgtest-pkg-python
 Build-Depends: debhelper-compat (= 13),
                dh-python,
                python3-all-dev,


=====================================
debian/tests/control
=====================================
@@ -1,4 +1,4 @@
-Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import ode; print(ode)" ; done
+Tests: run-unit-test
 Depends: @, python3-all
 Restrictions: allow-stderr
 


=====================================
debian/tests/pkg-python/import-name
=====================================
@@ -0,0 +1 @@
+ode


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -e
+
+for py in $(py3versions -r 2> /dev/null)
+do
+    $py -m unittest -v tests/test_xode.py
+done



View it on GitLab: https://salsa.debian.org/med-team/pyode/-/compare/fb7b51b3cc78c45ab3cc97dccbde5593beb02411...57a822d31bd1fb08ff73005fd29d1de340bc53dc

-- 
View it on GitLab: https://salsa.debian.org/med-team/pyode/-/compare/fb7b51b3cc78c45ab3cc97dccbde5593beb02411...57a822d31bd1fb08ff73005fd29d1de340bc53dc
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/20201113/046565c7/attachment-0001.html>


More information about the debian-med-commit mailing list