[DRE-commits] [ruby-cairo] 04/05: update d/tests for applying patches

Daisuke Higuchi dai at moszumanska.debian.org
Sun Oct 29 09:44:57 UTC 2017


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

dai pushed a commit to branch master
in repository ruby-cairo.

commit 5f987a4dfd1d184e6a6f5e5779fe7b3e7381f96f
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date:   Sun Oct 29 18:39:35 2017 +0900

    update d/tests for applying patches
---
 debian/tests/control  | 4 ++--
 debian/tests/run-test | 7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index b007253..4d829aa 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
-Test-Command: gem2deb-test-runner --check-dependencies --autopkgtest
-Depends: @, @builddeps@
+Tests: run-test
+Depends: @, gem2deb-test-runner, rake, ruby-pkg-config, ruby-test-unit, ruby-test-unit-notify, quilt
 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-cairo.git



More information about the Pkg-ruby-extras-commits mailing list