File: manifest.t

package info (click to toggle)
dh-make-perl 0.70-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 984 kB
  • ctags: 203
  • sloc: perl: 4,318; makefile: 88
file content (18 lines) | stat: -rw-r--r-- 377 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl -w

use Test::More;

if(!$ENV{RELEASE_TESTING}) {
  plan skip_all => 'Test::DistManifest only happens for 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();