File: manifest

package info (click to toggle)
libimage-sane-perl 5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 324 kB
  • sloc: perl: 2,714; ansic: 5; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Subject: Disable MANIFEST test, as this is only interesting for the author, and is
 confused by the debian-perl team git repo.
Author: Jeffrey Ratcliffe <jjr@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2017-07-15

--- a/t/90_MANIFEST.t
+++ b/t/90_MANIFEST.t
@@ -2,7 +2,12 @@
 use warnings;
 use English;
 use Image::Sane ':all';
-use Test::More tests => 2;
+use Test::More;
+
+if ( not $ENV{TEST_AUTHOR} ) {
+    my $msg = 'Author test.  Set $ENV{TEST_AUTHOR} to a true value to run.';
+    plan( skip_all => $msg );
+}
 
 my $git;
 SKIP: {
@@ -34,3 +39,5 @@
 else {
     fail 'version string not found';
 }
+
+done_testing;