[plplot] 09/10: Add build time tests
Ole Streicher
olebole at moszumanska.debian.org
Sat Jul 15 13:10:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch master
in repository plplot.
commit 59e90ab15067093d5a7ed3689969af408f77744e
Author: Ole Streicher <olebole at debian.org>
Date: Sat Jul 15 14:59:52 2017 +0200
Add build time tests
---
debian/test/control | 14 ++++++++++++++
debian/test/plplot-test | 17 +++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/debian/test/control b/debian/test/control
new file mode 100644
index 0000000..38c5bd2
--- /dev/null
+++ b/debian/test/control
@@ -0,0 +1,14 @@
+Tests: plplot-test
+Depends: libplplot-dev,
+ libplplot-java,
+ libqsastime-dev,
+ plplot-tcl-dev,
+ python-plplot,
+ python-plplot-qt,
+ libplplot-ada-dev,
+ libplplot-ocaml-dev,
+ libplplot-lua,
+ cmake,
+ gcc,
+ bash
+Restrictions: allow-stderr
diff --git a/debian/test/plplot-test b/debian/test/plplot-test
new file mode 100644
index 0000000..b5f38c1
--- /dev/null
+++ b/debian/test/plplot-test
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+SRC=`pwd`
+
+test_dir="$ADTTMP"
+if [ -z "$test_dir" ] ; then
+ test_dir="$(mktemp -d)"
+fi
+
+cd "$test_dir"
+cmake $SRC/examples
+
+make test_diff_psc
+make test_noninteractive
+#make test_interactive
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/plplot.git
More information about the debian-science-commits
mailing list