[DRE-commits] [ruby-commander] 09/11: add for autopkgtest-pkg-ruby
Daisuke Higuchi
dai at moszumanska.debian.org
Sat Oct 21 12:40:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
dai pushed a commit to branch master
in repository ruby-commander.
commit b4d9562df3cc5e0f09176fed0364e4a508371c47
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date: Sat Oct 21 21:33:34 2017 +0900
add for autopkgtest-pkg-ruby
---
debian/tests/control | 3 +++
debian/tests/run-test | 7 +++++++
2 files changed, 10 insertions(+)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..8a64a84
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-test
+Restrictions: allow-stderr
+Depends: @, quilt, gem2deb-test-runner, ruby-rspec-core
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-commander.git
More information about the Pkg-ruby-extras-commits
mailing list