[ack-grep] 01/02: no-standalone-test-but-autopkgtests.patch += t/lib/00-coverage.t only for release testing

Axel Beckert abe at deuxchevaux.org
Wed Sep 17 18:48:35 UTC 2014


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

abe pushed a commit to branch master
in repository ack-grep.

commit 6208feaa2c9f2c52b13e570ad9762890140111d7
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Wed Sep 17 20:37:04 2014 +0200

    no-standalone-test-but-autopkgtests.patch += t/lib/00-coverage.t only for release testing
---
 debian/changelog                                   |  7 ++++
 .../no-standalone-test-but-autopkgtests.patch      | 39 +++++++++++++++-------
 2 files changed, 34 insertions(+), 12 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ebfc426..b702d38 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ack-grep (2.14-3) UNRELEASED; urgency=medium
+
+  * Update no-standalone-test-but-autopkgtests.patch: Mark
+    t/lib/00-coverage.t as only for release testing
+
+ -- Axel Beckert <abe at debian.org>  Wed, 17 Sep 2014 20:32:08 +0200
+
 ack-grep (2.14-2) unstable; urgency=medium
 
   * Misuse the environment variable ACK_TEST_STANDALONE of ack's test
diff --git a/debian/patches/no-standalone-test-but-autopkgtests.patch b/debian/patches/no-standalone-test-but-autopkgtests.patch
index 4be162d..fdc55a3 100644
--- a/debian/patches/no-standalone-test-but-autopkgtests.patch
+++ b/debian/patches/no-standalone-test-but-autopkgtests.patch
@@ -20,8 +20,8 @@ Forwarded: not-needed
 
 Index: ack-grep/Makefile.PL
 ===================================================================
---- ack-grep.orig/Makefile.PL	2014-09-13 23:59:01.000000000 +0200
-+++ ack-grep/Makefile.PL	2014-09-13 23:59:01.000000000 +0200
+--- ack-grep.orig/Makefile.PL	2014-09-17 20:12:06.000000000 +0200
++++ ack-grep/Makefile.PL	2014-09-17 20:12:06.000000000 +0200
 @@ -121,12 +121,12 @@
  	$(CP) $(ACK) ~/bin/ack2
  	$(CP) ackrc ~/.ack2rc
@@ -39,8 +39,8 @@ Index: ack-grep/Makefile.PL
  	$(FULLPERLRUN) t/runtests.pl 1 $(TEST_VERBOSE) "$(INST_LIB)" "$(INST_ARCHLIB)" $(TEST_FILES)
 Index: ack-grep/t/runtests.pl
 ===================================================================
---- ack-grep.orig/t/runtests.pl	2014-09-13 23:59:01.000000000 +0200
-+++ ack-grep/t/runtests.pl	2014-09-13 23:59:01.000000000 +0200
+--- ack-grep.orig/t/runtests.pl	2014-09-17 20:12:06.000000000 +0200
++++ ack-grep/t/runtests.pl	2014-09-17 20:12:06.000000000 +0200
 @@ -16,5 +16,5 @@
  open STDIN, '<', '/dev/null';
  
@@ -50,8 +50,8 @@ Index: ack-grep/t/runtests.pl
  test_harness(shift, shift, shift);
 Index: ack-grep/t/Util.pm
 ===================================================================
---- ack-grep.orig/t/Util.pm	2014-09-13 23:59:01.000000000 +0200
-+++ ack-grep/t/Util.pm	2014-09-14 00:03:50.000000000 +0200
+--- ack-grep.orig/t/Util.pm	2014-09-17 20:12:06.000000000 +0200
++++ ack-grep/t/Util.pm	2014-09-17 20:12:06.000000000 +0200
 @@ -125,8 +125,8 @@
          unshift( @args, '--noenv' );
      }
@@ -83,8 +83,8 @@ Index: ack-grep/t/Util.pm
                  else {
 Index: ack-grep/t/command-line-files.t
 ===================================================================
---- ack-grep.orig/t/command-line-files.t	2014-09-13 23:59:01.000000000 +0200
-+++ ack-grep/t/command-line-files.t	2014-09-13 23:59:01.000000000 +0200
+--- ack-grep.orig/t/command-line-files.t	2014-09-17 20:12:06.000000000 +0200
++++ ack-grep/t/command-line-files.t	2014-09-17 20:12:06.000000000 +0200
 @@ -54,7 +54,7 @@
      # I don't care for this, but it's the least of the evils I could think of
      if ( $ENV{'ACK_TEST_STANDALONE'} ) {
@@ -96,8 +96,8 @@ Index: ack-grep/t/command-line-files.t
      else {
 Index: ack-grep/t/ack-x.t
 ===================================================================
---- ack-grep.orig/t/ack-x.t	2014-09-13 23:59:01.000000000 +0200
-+++ ack-grep/t/ack-x.t	2014-09-13 23:59:01.000000000 +0200
+--- ack-grep.orig/t/ack-x.t	2014-09-17 20:12:06.000000000 +0200
++++ ack-grep/t/ack-x.t	2014-09-17 20:12:06.000000000 +0200
 @@ -98,7 +98,7 @@
  my @lhs_args = ( $perl, '-Mblib', build_ack_invocation( '-g', 'of', 't/text' ) );
  my @rhs_args = ( $perl, '-Mblib', build_ack_invocation( '-x', 'the' ) ); # for now
@@ -109,8 +109,8 @@ Index: ack-grep/t/ack-x.t
  }
 Index: ack-grep/t/process-substitution.t
 ===================================================================
---- ack-grep.orig/t/process-substitution.t	2014-09-13 23:59:01.000000000 +0200
-+++ ack-grep/t/process-substitution.t	2014-09-13 23:59:01.000000000 +0200
+--- ack-grep.orig/t/process-substitution.t	2014-09-17 20:12:06.000000000 +0200
++++ ack-grep/t/process-substitution.t	2014-09-17 20:12:06.000000000 +0200
 @@ -51,7 +51,7 @@
      # XXX doing this by hand here eq '=('
      my $perl = caret_X();
@@ -120,3 +120,18 @@ Index: ack-grep/t/process-substitution.t
          unshift( @args, $perl );
      }
      else {
+Index: ack-grep/t/lib/00-coverage.t
+===================================================================
+--- ack-grep.orig/t/lib/00-coverage.t	2014-09-17 20:12:06.000000000 +0200
++++ ack-grep/t/lib/00-coverage.t	2014-09-17 20:12:12.000000000 +0200
+@@ -11,6 +11,10 @@
+ 
+ use Test::More;
+ 
++unless ( $ENV{RELEASE_TESTING} ) {
++    plan( skip_all => "these tests are for release candidate testing" );
++}
++
+ my @pms = glob( '*.pm' );
+ 
+ @pms = grep { !/Debug.pm/ } @pms;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/ack-grep.git



More information about the Pkg-perl-cvs-commits mailing list