[freemat] 02/03: Enable autopkgtests

Graham Inggs ginggs at moszumanska.debian.org
Tue Jun 6 19:12:30 UTC 2017


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

ginggs pushed a commit to branch master
in repository freemat.

commit 3a715a3d475d6eb2d0c9501d0887d690dbed16c1
Author: Graham Inggs <ginggs at debian.org>
Date:   Tue Jun 6 20:53:08 2017 +0200

    Enable autopkgtests
---
 debian/tests/control   |  3 +++
 debian/tests/testsuite | 12 ++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..b22aed9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: testsuite
+Restrictions: allow-stderr
+Depends: freemat, @builddeps@
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100644
index 0000000..244d89e
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,12 @@
+#/bin/sh
+
+set -ev
+
+SRCDIR="$(pwd)"
+
+cd "$ADTTMP"
+
+cmake "$SRCDIR"
+rm -f src/FreeMat
+ln -s /usr/bin/freemat src/FreeMat
+xvfb-run ctest --output-on-failure --force-new-ctest-process -E jit

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



More information about the debian-science-commits mailing list