[xmds2] 18/22: Run the lorenz.xmds example as unit test
Rafael Laboissière
rlaboiss-guest at moszumanska.debian.org
Fri Jan 3 21:46:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
rlaboiss-guest pushed a commit to branch master
in repository xmds2.
commit 281cc1e93cc601ab162bdc07ba9215be7a18bb09
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Fri Jan 3 19:47:20 2014 +0100
Run the lorenz.xmds example as unit test
---
debian/changelog | 4 +++-
debian/rules | 6 +++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6e9ab9c..f5afede 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,7 +10,9 @@ xmds2 (2.1.4-1) UNRELEASED; urgency=low
+ Use XS-Python-Version instead of deprecated XB-Python-Version
+ Drop duplicated dependency on python-pyparsing
+ Suggests: octave
- * debian/rules: Remove the build directory in the clean rule
+ * debian/rules:
+ + Remove the build directory in the clean rule
+ + Run the lorenz.xmds example as unit test
* debian/watch: Add file for uscan
* Bump the debhelper compatibility level to 9
* debian/copyright: DEPS-5-compliant
diff --git a/debian/rules b/debian/rules
index 01fc6a5..5edf1bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,10 @@ override_dh_auto_install:
python setup.py install --root=debian/xmds2 --install-layout=deb
override_dh_auto_test:
+ ( cd ./examples ; \
+ python ../bin/xmds2 lorenz.xmds ; \
+ ./lorenz ; \
+ python ../bin/xsil2graphics2 -m lorenz.xsil )
override_dh_auto_clean:
dh_clean
@@ -26,4 +30,4 @@ override_dh_auto_clean:
rm -rf xpdeint/c4che/
rm -f xpdeint/config.log
rm -rf build/
-
+ ( cd examples ; rm -f lorenz.cc lorenz lorenz.xsil lorenz.h5 lorenz.m )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/xmds2.git
More information about the debian-science-commits
mailing list