[DRE-commits] [ruby-guard] 11/13: support autopkgtest-pkg-ruby
Daisuke Higuchi
dai at moszumanska.debian.org
Tue Nov 28 08:10:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
dai pushed a commit to branch master
in repository ruby-guard.
commit 3e1b3933cbca6bf9dd8ea591591cc4e67cb46de3
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date: Tue Nov 28 16:59:33 2017 +0900
support autopkgtest-pkg-ruby
---
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 a2d9220..1e6385b 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,6 @@ Standards-Version: 4.1.1
Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-guard.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-guard.git
Homepage: http://guardgem.org
-Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-guard
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..1c0ea19
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-test
+Depends: @, quilt, gem2deb-test-runner, rake, ruby-rspec-core, pry, ruby-formatador, ruby-listen, ruby-lumberjack, ruby-nenv, ruby-notiffany, ruby-shellany, ruby-thor
+Restrictions: allow-stderr
diff --git a/debian/tests/run-test b/debian/tests/run-test
new file mode 100644
index 0000000..f9b8aa8
--- /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 2>&1
+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-guard.git
More information about the Pkg-ruby-extras-commits
mailing list