[med-svn] [pbsuite] 08/11: Add a sanity test for pbhoney for autopkgtest
Afif Elghraoui
afif-guest at moszumanska.debian.org
Tue Feb 9 08:33:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif-guest pushed a commit to branch master
in repository pbsuite.
commit b5d8dddb43f17cfedab12c6e3280106df68b6ae9
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Tue Feb 9 00:18:08 2016 -0800
Add a sanity test for pbhoney for autopkgtest
Run the example to make sure that the software is doing something.
There is no upstream test suite to be sure that results remain
accurate.
---
debian/tests/control | 5 +++++
debian/tests/pbhoney | 13 +++++++++++++
2 files changed, 18 insertions(+)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..ca46547
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: pbhoney
+Depends: pbhoney
+Restrictions:
+ needs-recommends,
+ allow-stderr,
diff --git a/debian/tests/pbhoney b/debian/tests/pbhoney
new file mode 100755
index 0000000..4a72f91
--- /dev/null
+++ b/debian/tests/pbhoney
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+# This does not test the accuracy of the code.
+# It's just a check of whether it will actually run successfully
+
+cp -r /usr/share/doc/pbhoney/examples/* $ADTTMP
+
+cd $ADTTMP
+
+gunzip *.gz
+
+./workflow.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pbsuite.git
More information about the debian-med-commit
mailing list