File: manifest.t

package info (click to toggle)
dh-make-perl 0.129
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,292 kB
  • sloc: perl: 5,640; makefile: 34; sh: 25
file content (16 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/perl -w

use Test::More;

plan skip_all => "This is a release-time test" unless $ENV{RELEASE_TESTING};

eval 'use Test::DistManifest';
if ($@) {
  plan skip_all => 'Test::DistManifest required to test MANIFEST';
}

unless ( -e 'MANIFEST' ) {
    plan skip_all => 'MANIFEST testing skipped due to missing MANIFEST file';
}

manifest_ok();