[DRE-commits] [ruby-notiffany] 09/10: support autopkgtest
Daisuke Higuchi
dai at moszumanska.debian.org
Wed Nov 15 15:48:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
dai pushed a commit to branch master
in repository ruby-notiffany.
commit 797f189263033958fd42d6ca5625d67afff85142
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date: Thu Nov 16 00:44:19 2017 +0900
support autopkgtest
---
debian/control | 1 -
debian/tests/control | 3 +++
debian/tests/run-test | 7 +++++++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 720b79d..41fb63f 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,6 @@ Standards-Version: 4.1.1
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-notiffany.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-notiffany.git
Homepage: https://github.com/guard/notiffany
-Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-notiffany
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..1f403a4
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-test
+Depends: @, ruby-rspec, quilt, gem2deb-test-runner
+Restrictions: allow-stderr
diff --git a/debian/tests/run-test b/debian/tests/run-test
new file mode 100644
index 0000000..adb122f
--- /dev/null
+++ b/debian/tests/run-test
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+QUILT_PATCHES=debian/patches quilt push -a || true
+gem2deb-test-runner --check-dependencies --autopkgtest
+QUILT_PATCHES=debian/patches quilt pop -a || true
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-notiffany.git
More information about the Pkg-ruby-extras-commits
mailing list