File: manifest.t

package info (click to toggle)
libppix-regexp-perl 0.090-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,524 kB
  • sloc: perl: 8,022; makefile: 8
file content (36 lines) | stat: -rw-r--r-- 626 bytes parent folder | download | duplicates (8)
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
29
30
31
32
33
34
35
36
package main;

use strict;
use warnings;

BEGIN {
    eval {
	require Test::More;
	Test::More->VERSION( 0.88 );	# Because of done_testing()
	Test::More->import();
	1;
    } or do {
	print <<eod;
1..0 # skip Test::More 0.88 or higher required.
eod
	exit;
    };
}

BEGIN {
    eval {
	require ExtUtils::Manifest;
	ExtUtils::Manifest->import( qw{ manicheck filecheck } );
	1;
    } or do {
	plan( skip_all => "ExtUtils::Manifest required" );
	exit;
    };
}

plan( tests => 2 );

is( join( ' ', manicheck() ), '', 'Missing files per manifest' );
is( join( ' ', filecheck() ), '', 'Files not in MANIFEST or MANIFEST.SKIP' );

1;