[statsmodels] 01/01: Add a simple autopkgtest to make sure the compiled libraries dont segfault

Diane Trout diane at moszumanska.debian.org
Fri Sep 8 06:31:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

diane pushed a commit to branch detrout-python3
in repository statsmodels.

commit cdae00fbc6b0c3e173ded48403a8706b0f6ba477
Author: Diane Trout <diane at ghic.org>
Date:   Thu Sep 7 23:31:29 2017 -0700

    Add a simple autopkgtest  to make sure the compiled libraries dont segfault
---
 debian/tests/control | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..4de564c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,16 @@
+Test-Command: set -e
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$ADTTMP" ; echo "Testing with $py:"
+ ; $py -c "import statsmodels; print statsmodels"
+ ; $py -c "import statsmodels.nonparametric._smoothers_lowess; print(statsmodels.nonparametric._smoothers_lowess)"
+ ; done
+Depends: python-all, python-statsmodels
+
+Test-Command: set -e
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$ADTTMP" ; echo "Testing with $py:"
+ ; $py -c "import statsmodels; print(statsmodels)"
+ ; $py -c "import statsmodels.nonparametric._smoothers_lowess; print(statsmodels.nonparametric._smoothers_lowess)"
+ ; done
+Depends: python3-all, python3-statsmodels
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/statsmodels.git



More information about the debian-science-commits mailing list