[libcli-framework-perl] 04/05: Add autopkgtest
Balint Reczey
rbalint at moszumanska.debian.org
Sat Aug 16 13:50:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
rbalint pushed a commit to branch master
in repository libcli-framework-perl.
commit 849859cbe0d016468450fbd67653b685b0d70604
Author: Balint Reczey <balint at balintreczey.hu>
Date: Sat Aug 16 15:30:09 2014 +0200
Add autopkgtest
---
debian/control | 1 +
debian/tests/control | 2 ++
debian/tests/run-example | 8 ++++++++
3 files changed, 11 insertions(+)
diff --git a/debian/control b/debian/control
index fe65ab7..ac822f6 100644
--- a/debian/control
+++ b/debian/control
@@ -11,6 +11,7 @@ Standards-Version: 3.9.5
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libcli-framework-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libcli-framework-perl.git
Homepage: https://metacpan.org/release/CLI-Framework
+XS-Testsuite: autopkgtest
Package: libcli-framework-perl
Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..8748802
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: run-example
+Depends: @
\ No newline at end of file
diff --git a/debian/tests/run-example b/debian/tests/run-example
new file mode 100644
index 0000000..86cd9b3
--- /dev/null
+++ b/debian/tests/run-example
@@ -0,0 +1,8 @@
+#!/bin/sh
+# autopkgtest check: run the example program shipped with CLI:Framework
+
+set -e
+
+perl /usr/share/doc/libcli-framework-perl/examples/demo-simple.pl | grep 'useful things happen here'
+
+echo "run: OK"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcli-framework-perl.git
More information about the Pkg-perl-cvs-commits
mailing list