[statsmodels] 10/21: Add a simple autopkgtest to make sure the compiled libraries dont segfault
Diane Trout
diane at moszumanska.debian.org
Mon Sep 25 06:39:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
diane pushed a commit to branch detrout-python3-try2
in repository statsmodels.
commit 046e58cb8413f9e33027156863ba815f977fbba8
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