File: disable-kwalitee-test.patch

package info (click to toggle)
libclass-gomor-perl 1.03-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 196 kB
  • ctags: 31
  • sloc: perl: 234; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: disable Kwalitee tests
 These probably aren't going to be useful, and will cause
 build failures if the CPANTS analyser is changed.
Origin: vendor
Forwarded: not-needed
Author: Jonathan Yu <jawnsy@cpan.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-08-17

--- a/t/04-test-kwalitee.t
+++ b/t/04-test-kwalitee.t
@@ -1,3 +1,8 @@
 use Test::More;
+
+unless ($ENV{RELEASE_TESTING}) {
+  plan skip_all => 'Kwalitee is an author test';
+}
+
 eval { require Test::Kwalitee; Test::Kwalitee->import() };
 plan( skip_all => 'Test::Kwalitee not installed; skipping' ) if $@;