[Pkg-octave-commit] [dynare] 04/05: Add two autopkgtests (simple run of small mod-files).

Sébastien Villemot sebastien at debian.org
Tue Jul 25 16:22:06 UTC 2017


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

sebastien pushed a commit to branch master
in repository dynare.

commit 64eabaf8b9076a29cbc18bc4fd80b05ed9cf3ee4
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Tue Jul 25 16:55:54 2017 +0200

    Add two autopkgtests (simple run of small mod-files).
---
 debian/tests/control  | 7 +++++++
 debian/tests/example1 | 8 ++++++++
 debian/tests/ramst    | 8 ++++++++
 3 files changed, 23 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7db3017
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,7 @@
+Tests: ramst
+Depends: dynare, gnuplot-nox
+Restrictions: allow-stderr
+
+Tests: example1
+Depends: dynare, gnuplot-nox
+Restrictions: allow-stderr
diff --git a/debian/tests/example1 b/debian/tests/example1
new file mode 100644
index 0000000..d409c3f
--- /dev/null
+++ b/debian/tests/example1
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+cd tests
+rm -f example1_results.mat
+octave-cli --no-history --eval "dynare example1"
+test -f example1_results.mat
diff --git a/debian/tests/ramst b/debian/tests/ramst
new file mode 100644
index 0000000..7d3caea
--- /dev/null
+++ b/debian/tests/ramst
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+cd tests
+rm -f ramst_results.mat
+octave-cli --no-history --eval "dynare ramst"
+test -f ramst_results.mat

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/dynare.git



More information about the Pkg-octave-commit mailing list