[frobby] 03/04: debian/tests: Add autopkgtest support.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Jul 21 17:08:19 UTC 2016


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

dtorrance-guest pushed a commit to branch master
in repository frobby.

commit afe6b48ecc7440f706ad14b7fec1962ad508922d
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Thu Jul 21 12:42:31 2016 -0400

    debian/tests: Add autopkgtest support.
---
 debian/tests/control  |  2 ++
 debian/tests/runtests | 10 ++++++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..46806cc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: runtests
+Depends: frobby
diff --git a/debian/tests/runtests b/debian/tests/runtests
new file mode 100755
index 0000000..25dd898
--- /dev/null
+++ b/debian/tests/runtests
@@ -0,0 +1,10 @@
+#!/bin/sh
+# autopkgtest check: Run upstream test suite on installed package
+# Author: Doug Torrance <dtorrance at piedmont.edu>
+
+set -e
+
+mkdir -p bin
+ln -fs /usr/bin/frobby bin/frobby
+test/runTests
+rm -rf bin

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



More information about the debian-science-commits mailing list