[DRE-commits] [ruby-inline] 02/05: Patch testsuite so it works at build time
Christian Hofstaedtler
zeha at moszumanska.debian.org
Wed Jan 15 22:36:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository ruby-inline.
commit 3af779c477dc9bf4969cb2d86fe9cb1fd7417811
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Wed Jan 15 18:21:45 2014 +0100
Patch testsuite so it works at build time
---
debian/patches/fix-tests-in-debian-build-env | 40 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/ruby-test-files.yaml | 2 +-
3 files changed, 42 insertions(+), 1 deletion(-)
diff --git a/debian/patches/fix-tests-in-debian-build-env b/debian/patches/fix-tests-in-debian-build-env
new file mode 100644
index 0000000..cc6c617
--- /dev/null
+++ b/debian/patches/fix-tests-in-debian-build-env
@@ -0,0 +1,40 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ ruby-inline (3.12.2-1) UNRELEASED; urgency=low
+ .
+ * New upstream release
+ * Run the tests as part of the build process; add build-dependency on
+ ruby-zentest
+Author: Gunnar Wolf <gwolf at debian.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+Index: ruby-inline/test/test_inline.rb
+===================================================================
+--- ruby-inline.orig/test/test_inline.rb 2014-01-15 18:01:00.136727299 +0100
++++ ruby-inline/test/test_inline.rb 2014-01-15 18:01:00.192727046 +0100
+@@ -14,7 +14,7 @@ File.umask(0)
+
+ require 'pathname'
+
+-$inline_path = './lib/inline.rb'
++$inline_path = './debian/ruby-inline/usr/lib/ruby/vendor_ruby/inline.rb'
+ $test_inline_path = './test/test_inline.rb'
+
+ class InlineTestCase < MiniTest::Unit::TestCase
diff --git a/debian/patches/series b/debian/patches/series
index 33bf7d8..b084a20 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
dont_require_rubygems
fix_ruby_path
inline_mapping_instead_of_zentest_mapping
+fix-tests-in-debian-build-env
ruby2.0-multiarch
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
index acba721..db5fd20 100644
--- a/debian/ruby-test-files.yaml
+++ b/debian/ruby-test-files.yaml
@@ -1 +1 @@
-- test_inline.rb
+- test/test_inline.rb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-inline.git
More information about the Pkg-ruby-extras-commits
mailing list