[DRE-commits] [ruby-rmagick] 04/05: Add patch to ignore removed file when running tests
Antonio Terceiro
terceiro at moszumanska.debian.org
Thu Apr 21 16:33:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-rmagick.
commit 6bd8499f18491de4323c4faf8bd8eeee93639e53
Author: Antonio Terceiro <terceiro at debian.org>
Date: Thu Apr 21 13:26:53 2016 -0300
Add patch to ignore removed file when running tests
---
debian/changelog | 1 +
.../0002-Ignore-removed-srgb.icm-file-in-tests.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 22 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3a8578b..bb964f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-rmagick (2.15.4+dfsg-1) UNRELEASED; urgency=medium
* Remove non-free file test/srgb.icm (Closes: #820939)
* debian/copyright: list test/srgb.icm in Files-Excluded so it is
automatically removed from future new upstream release tarballs.
+ * Add patch to ignore removed file when running tests
-- Antonio Terceiro <terceiro at debian.org> Thu, 21 Apr 2016 13:14:11 -0300
diff --git a/debian/patches/0002-Ignore-removed-srgb.icm-file-in-tests.patch b/debian/patches/0002-Ignore-removed-srgb.icm-file-in-tests.patch
new file mode 100644
index 0000000..dc9b95c
--- /dev/null
+++ b/debian/patches/0002-Ignore-removed-srgb.icm-file-in-tests.patch
@@ -0,0 +1,20 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Thu, 21 Apr 2016 13:26:07 -0300
+Subject: Ignore removed srgb.icm file in tests
+
+---
+ test/Image1.rb | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/test/Image1.rb b/test/Image1.rb
+index 750ae48..4930c4a 100644
+--- a/test/Image1.rb
++++ b/test/Image1.rb
+@@ -139,7 +139,6 @@ class Image1_UT < Test::Unit::TestCase
+ def add_delete_profile
+ img = Magick::Image.read('cmyk.jpg'),first
+ assert_nothing_raised { img.add_profile('cmyk.icm') }
+- assert_nothing_raised { img.add_profile('srgb.icm') }
+ img.each_profile { |name, value| assert_equal('icc', name) }
+ assert_nothing_raised { img.delete_profile('icc') }
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 0a8fdf4..50c776f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Bypass-version-check.patch
+0002-Ignore-removed-srgb.icm-file-in-tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rmagick.git
More information about the Pkg-ruby-extras-commits
mailing list