[xmds2] 05/10: Exercise the Octave output file from the lorenz.xmds simulation

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Tue Jan 7 08:30:21 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 deef6278f74252eebe9ce0c707ada83e2b3c9fe1
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Mon Jan 6 23:26:27 2014 +0100

    Exercise the Octave output file from the lorenz.xmds simulation
---
 debian/control | 5 ++++-
 debian/rules   | 6 +++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 0c76731..4811040 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,10 @@ Build-Depends: debhelper (>= 9),
                libfftw3-mpi-dev,
                libhdf5-serial-dev,
                libatlas-base-dev,
-               mpi-default-dev
+               mpi-default-dev,
+               octave,
+               xauth,
+               xvfb
 Standards-Version: 3.9.5
 XS-Python-Version: ${python:Versions}
 Homepage: http://xmds.sourceforge.net/
diff --git a/debian/rules b/debian/rules
index acb25c3..3e67c09 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,11 @@ override_dh_auto_test:
 	  cd ./examples ;				\
 	  xmds2 lorenz.xmds ;				\
 	  ./lorenz ;					\
-	  xsil2graphics2 -m lorenz.xsil )
+	  xsil2graphics2 -m lorenz.xsil ;		\
+	  echo 'source ("lorenz.m"); plot (t_1, xR_1);'	\
+	       'disp ("Octave plot succeeded")'		\
+	    | xvfb-run -s "-screen 0 800x600x24"	\
+                       octave -qf )
 
 override_dh_auto_clean:
 	dh_clean

-- 
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