[libepsilon] 13/16: Add patch to disable tests using non-free lena image.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Mar 11 01:42:56 UTC 2016


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

sebastic pushed a commit to branch master
in repository libepsilon.

commit 8b17560abc660ee2be4c8ad284696b6924ac4e31
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Mar 11 01:50:26 2016 +0100

    Add patch to disable tests using non-free lena image.
---
 debian/changelog                        |  1 +
 debian/patches/disable-lena-tests.patch | 42 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 44 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 872ca6e..8dc90ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ libepsilon (0.9.2+dfsg-1) UNRELEASED; urgency=medium
   * Enable parallel builds.
   * Repack upstream tarball to exclude non-free lena test image.
   * Add gbp.conf to use pristine-tar by default.
+  * Add patch to disable tests using non-free lena image.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 11 Mar 2016 01:30:51 +0100
 
diff --git a/debian/patches/disable-lena-tests.patch b/debian/patches/disable-lena-tests.patch
new file mode 100644
index 0000000..5d58686
--- /dev/null
+++ b/debian/patches/disable-lena-tests.patch
@@ -0,0 +1,42 @@
+Description: Disable tests using non-free lena image.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/tests/images/Makefile.am
++++ b/tests/images/Makefile.am
+@@ -1,3 +1,3 @@
+ INCLUDES =
+ METASOURCES = AUTO
+-dist_noinst_DATA = lena.pgm nirvana.ppm gray_dot.pgm horizontal_rainbow.ppm horizontal_gradient.pgm red_dot.ppm vertical_gradient.pgm vertical_rainbow.ppm
++dist_noinst_DATA = nirvana.ppm gray_dot.pgm horizontal_rainbow.ppm horizontal_gradient.pgm red_dot.ppm vertical_gradient.pgm vertical_rainbow.ppm
+--- a/tests/images/Makefile.in
++++ b/tests/images/Makefile.in
+@@ -159,7 +159,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ INCLUDES = 
+ METASOURCES = AUTO
+-dist_noinst_DATA = lena.pgm nirvana.ppm gray_dot.pgm horizontal_rainbow.ppm horizontal_gradient.pgm red_dot.ppm vertical_gradient.pgm vertical_rainbow.ppm
++dist_noinst_DATA = nirvana.ppm gray_dot.pgm horizontal_rainbow.ppm horizontal_gradient.pgm red_dot.ppm vertical_gradient.pgm vertical_rainbow.ppm
+ all: all-am
+ 
+ .SUFFIXES:
+--- a/tests/t/quick.t
++++ b/tests/t/quick.t
+@@ -79,7 +79,6 @@ Readonly my %TEST_IMAGES      => (
+         min_Cb_psnr => 31.50,
+         min_Cr_psnr => 40.10,
+     },
+-    'lena.pgm'    => 53.20,
+     'nirvana.ppm' => {
+         min_Y_psnr  => 55.20,
+         min_Cb_psnr => 44.50,
+--- a/tests/t/verification.t
++++ b/tests/t/verification.t
+@@ -76,8 +76,6 @@ Readonly my $MPI_MACHINE_FILE =>
+     catfile( $Bin, q{..}, 'build', 'machines.MPICH' );
+ 
+ Readonly my %TEST_IMAGES => (
+-    'lena.pgm' => 53,
+-
+     'nirvana.ppm' => {
+         min_Y_psnr  => 50,
+         min_Cb_psnr => 44,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c5bc2d1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable-lena-tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/libepsilon.git



More information about the Pkg-grass-devel mailing list