Skip to content

Commit

Permalink
add manifest xt test
Browse files Browse the repository at this point in the history
  • Loading branch information
yanick committed Sep 13, 2011
1 parent 98db746 commit 5a921d6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 16 deletions.
18 changes: 2 additions & 16 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ mkta.pl
oci.def OCI.DLL export declarations
oci8.c
ocitrace.h
ora_explain.PL
Oracle.ex/bind.pl
Oracle.ex/commit.pl
Oracle.ex/curref.pl
Expand All @@ -33,21 +32,6 @@ Oracle.xs
oraperl.ph Old oraperl file included for completeness of emulation
Oraperl.pm
README
README-files/hpux/Conf-Lincoln-1.06
README-files/hpux/Conf-Lincoln-1.07
README-files/hpux/Conf-Merijn-580-10.20-cc
README-files/hpux/Conf-Merijn-585-11.00-cc
README-files/hpux/Conf-Merijn-585-11.11-cc
README-files/hpux/Conf-Merijn-587-11.23-cc
README-files/hpux/Conf-Merijn-588-10.20-gcc
README-files/hpux/Conf-Merijn-588-11.00-gcc32
README-files/hpux/Conf-Merijn-588-11.00-gcc64
README-files/hpux/Conf-Merijn-588-11.11-gcc32
README-files/hpux/Conf-Merijn-588-11.11-gcc64
README-files/hpux/Conf-Merijn-588-11.23-gcc64
README-files/hpux/Conf-Mike
README-files/hpux/Conf-Roger
README-files/hpux/libjava.eml
README-files/hpux/Makefile-Lincoln
README.64bit.txt
README.aix.txt
Expand Down Expand Up @@ -102,3 +86,5 @@ t/nchar_test_lib.pl
test.pl
Todo
typemap
examples/ora_explain.pl
t/00versions.t
2 changes: 2 additions & 0 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
^oracle/
^tags$
~$
^\.git
^xt
21 changes: 21 additions & 0 deletions xt/manifest.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
use strict;
use warnings;

use ExtUtils::Manifest qw/ fullcheck /;

use Test::More tests => 1;

my ( $missing, $extra ) = do {
local *STDERR;

# hush little baby, don't you cry
open STDERR, '>', \my $stderr;

fullcheck();
};

ok @$missing + @$extra == 0, 'manifest in sync' or do {
diag "missing files:\n", map { " \t $_\n " } @$missing if @$missing;
diag "extra files: \n", map { "\t$_\n" } @$extra if @$extra;
};

0 comments on commit 5a921d6

Please sign in to comment.